12 lines
442 B
C++
12 lines
442 B
C++
#include "../src/misc/memory/model.hpp"
|
|
#include <iostream>
|
|
|
|
int main(int argc, char **argv) {
|
|
// Point2D<int> *p = new Point2D<int>(1, 2);
|
|
// Box<Point2D<int>> boxed_point1 = Box<Point2D<int>>(p);
|
|
// Box<Point2D<int>> boxed_point2(boxed_point1);
|
|
Box<Point2D<int>> boxed_one = Box<Point2D<int>>(new Point2D<int>(1, 2));
|
|
Box<Point2D<int>> boxed_two = boxed_one;
|
|
// Box<Point2D<int>> boxed(new Point2D<int>(1, 2));
|
|
return 0;
|
|
}
|