Map_placement_new.cpp File Reference

Go to the source code of this file.

Functions

 cout<< "The mapped vector v is: "<< v<< "\n";new(&v) Map< RowVectorXi > (data+4, 5)
 
Map< RowVectorXi > v (data, 4)
 

Variables

int data []
 

Function Documentation

◆ cout<< "The mapped vector v is: "<< v<< "\n";new(&v) Map< RowVectorXi >()

cout<< "The mapped vector v is: "<< v<< "\n";new(&v) Map< RowVectorXi > ( data 4,
 
)

◆ v()

Map<RowVectorXi> v ( data  ,
 
)

Variable Documentation

◆ data

int data[]

Definition at line 1 of file Map_placement_new.cpp.