Add specializations of is_arithmetic for long long in c++11

This commit is contained in:
Gael Guennebaud 2018-04-23 16:26:29 +02:00
parent a57e6e5f0f
commit e9da464e20

View File

@ -98,6 +98,8 @@ template<> struct is_arithmetic<signed long> { enum { value = true }; };
template<> struct is_arithmetic<unsigned long> { enum { value = true }; };
#if EIGEN_HAS_CXX11
template<> struct is_arithmetic<signed long long> { enum { value = true }; };
template<> struct is_arithmetic<unsigned long long> { enum { value = true }; };
using std::is_integral;
#else
template<typename T> struct is_integral { enum { value = false }; };