eigen库vs2010能调用2005就不能 来个大神帮我看看
template <typename T, typename IndexType=Index>
struct has_binary_operator
{
template <typename C> static meta_yes testFunctor(C const *,typename enable_if<(sizeof(return_ptr<C>()->operator()(IndexType(0),IndexType(0)))>0)>::type * = 0);
static meta_no testFunctor(...);
enum { value = sizeof(testFunctor(static_cast<T*>(0))) == sizeof(meta_yes) };
};
错误 1 error C2039: 'type' : is not a member of 'Eigen::internal::enable_if' c:\eigen3\eigen\src\core\util\meta.h 407
错误 2 error C2143: syntax error : missing ',' before '*' c:\eigen3\eigen\src\core\util\meta.h 407
错误 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\eigen3\eigen\src\core\util\meta.h 407
错误 4 error C2244: 'Eigen::MatrixBase<Derived>::dot' : unable to match function definition to an existing declaration c:\eigen3\eigen\src\core\dot.h 85