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(){ 00012 MatrixXf m; 00013 Block<CV_QUALIFIER MatrixXf, 3, 3>(m, 0, 0).coeffRef(0, 0) = 1.0f; 00014 } 00015 00016 int main() {}