mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-29 23:34:12 +08:00
Add specializations of is_arithmetic for long long in c++11
This commit is contained in:
parent
a57e6e5f0f
commit
e9da464e20
@ -98,6 +98,8 @@ template<> struct is_arithmetic<signed long> { enum { value = true }; };
|
|||||||
template<> struct is_arithmetic<unsigned long> { enum { value = true }; };
|
template<> struct is_arithmetic<unsigned long> { enum { value = true }; };
|
||||||
|
|
||||||
#if EIGEN_HAS_CXX11
|
#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;
|
using std::is_integral;
|
||||||
#else
|
#else
|
||||||
template<typename T> struct is_integral { enum { value = false }; };
|
template<typename T> struct is_integral { enum { value = false }; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user