source:
pacpussensors/trunk/Vislab/lib3dv/eigen/failtest/const_qualified_block_method_retval_0.cpp@
138
Last change on this file since 138 was 136, checked in by , 8 years ago | |
---|---|
File size: 245 bytes |
Rev | Line | |
---|---|---|
[136] | 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 | ||
9 | using namespace Eigen; | |
10 | ||
11 | void foo(CV_QUALIFIER Matrix3d &m){ | |
12 | Block<Matrix3d,3,3> b(m.block<3,3>(0,0)); | |
13 | } | |
14 | ||
15 | int main() {} |
Note:
See TracBrowser
for help on using the repository browser.