diff options
Diffstat (limited to 'eigen/doc/snippets/Map_placement_new.cpp')
-rw-r--r-- | eigen/doc/snippets/Map_placement_new.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/eigen/doc/snippets/Map_placement_new.cpp b/eigen/doc/snippets/Map_placement_new.cpp deleted file mode 100644 index 2e40eca..0000000 --- a/eigen/doc/snippets/Map_placement_new.cpp +++ /dev/null @@ -1,5 +0,0 @@ -int data[] = {1,2,3,4,5,6,7,8,9}; -Map<RowVectorXi> v(data,4); -cout << "The mapped vector v is: " << v << "\n"; -new (&v) Map<RowVectorXi>(data+4,5); -cout << "Now v is: " << v << "\n";
\ No newline at end of file |