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 // row/column constructor 00013 Block<Matrix3d,3,1> b(m,0); 00014 } 00015 00016 int main() {}