Fix internal::is_integral<size_t/ptrdiff_t> with MSVC 2013 and older.

This commit is contained in:
Gael Guennebaud 2018-05-22 19:29:51 +02:00
parent 36e413a534
commit f0862b062f

View File

@ -113,6 +113,10 @@ template<> struct is_integral<signed int> { enum { value = true }; }
template<> struct is_integral<unsigned int> { enum { value = true }; };
template<> struct is_integral<signed long> { enum { value = true }; };
template<> struct is_integral<unsigned long> { enum { value = true }; };
#if EIGEN_COMP_MSVC
template<> struct is_integral<signed __int64> { enum { value = true }; };
template<> struct is_integral<unsigned __int64> { enum { value = true }; };
#endif
#endif