1c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath#include "../Eigen/Core" 2c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath 3c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath#ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath#define CV_QUALIFIER const 5c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath#else 6c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath#define CV_QUALIFIER 7c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath#endif 8c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath 9c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamathusing namespace Eigen; 10c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath 11c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamathvoid foo(CV_QUALIFIER Matrix3d &m){ 12c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath Transpose<Matrix3d> b(m.transpose()); 13c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath} 14c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamath 15c981c48f5bc9aefeffc0bcb0cc3934c2fae179ddNarayan Kamathint main() {} 16