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

This commit is contained in:
Gael Guennebaud
2017-01-06 15:44:13 +01:00
parent f3f026c9aa
commit e383d6159a
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ template<typename T>
struct functor_traits<std::not_equal_to<T> >
{ enum { Cost = 1, PacketAccess = false }; };
#if(__cplusplus < 201103L)
#if (__cplusplus < 201103L) && (EIGEN_COMP_MSVC <= 1900)
// std::binder* are deprecated since c++11 and will be removed in c++17
template<typename T>
struct functor_traits<std::binder2nd<T> >