Make EIGEN_HAS_STD_RESULT_OF user configurable

This commit is contained in:
Gael Guennebaud
2016-05-20 15:01:27 +02:00
parent 1395056fc0
commit abd1c1af7a
3 changed files with 6 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ template<int SizeAtCompileType> void mixingtypes(int size = SizeAtCompileType)
mf+mf;
VERIFY_RAISES_ASSERT(mf+md);
#ifndef EIGEN_HAS_STD_RESULT_OF
#if !EIGEN_HAS_STD_RESULT_OF
// this one does not even compile with C++11
VERIFY_RAISES_ASSERT(mf+mcf);
#endif