00001 #include "../Eigen/Core" 00002 00003 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 00004 #define CV_QUALIFIER const 00005 #else 00006 #define CV_QUALIFIER 00007 #endif 00008 00009 using namespace Eigen; 00010 00011 void foo(CV_QUALIFIER Matrix3d &m){ 00012 Block<Matrix3d> b(m.block(0,0,3,3)); 00013 } 00014 00015 int main() {}