source: pacpussensors/trunk/Vislab/lib3dv/eigen/failtest/block_on_const_type_actually_const_0.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 262 bytes
Line 
1#include "../Eigen/Core"
2
3#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
4#define CV_QUALIFIER const
5#else
6#define CV_QUALIFIER
7#endif
8
9using namespace Eigen;
10
11void foo(){
12 Matrix3f m;
13 Block<CV_QUALIFIER Matrix3f>(m, 0, 0, 3, 3).coeffRef(0, 0) = 1.0f;
14}
15
16int main() {}
Note: See TracBrowser for help on using the repository browser.