MSVC 2015 has all we want about c++11 and MSVC 2017 fails on binder1st/binder2nd

(grafted from e383d6159a
)
This commit is contained in:
Gael Guennebaud
2017-01-06 15:44:13 +01:00
parent 1d1686c62b
commit dafdb0d8a8
2 changed files with 2 additions and 2 deletions

View File

@@ -356,7 +356,7 @@
#define EIGEN_MAX_CPP_VER 99
#endif
#if EIGEN_MAX_CPP_VER>=11 && defined(__cplusplus) && (__cplusplus >= 201103L)
#if EIGEN_MAX_CPP_VER>=11 && (defined(__cplusplus) && (__cplusplus >= 201103L) || EIGEN_COMP_MSVC >= 1900)
#define EIGEN_HAS_CXX11 1
#else
#define EIGEN_HAS_CXX11 0