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 float *ptr, DenseIndex size){ 00012 Map<ArrayXf> m(ptr, size); 00013 } 00014 00015 int main() {}