File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -65,17 +65,21 @@ namespace traits{
6565 template <>
6666 struct is_arithmetic <const unsigned long > : public true_type { };
6767
68+ #if defined(RCPP_HAS_LONG_LONG_TYPES)
69+
6870 template <>
69- struct is_arithmetic <long long > : public true_type { };
71+ struct is_arithmetic <rcpp_long_long_type > : public true_type { };
7072
7173 template <>
72- struct is_arithmetic <const long long > : public true_type { };
74+ struct is_arithmetic <const rcpp_long_long_type > : public true_type { };
7375
7476 template <>
75- struct is_arithmetic <unsigned long long > : public true_type { };
77+ struct is_arithmetic <rcpp_ulong_long_type > : public true_type { };
7678
7779 template <>
78- struct is_arithmetic <const unsigned long long > : public true_type { };
80+ struct is_arithmetic <const rcpp_ulong_long_type> : public true_type { };
81+
82+ #endif
7983
8084 template <>
8185 struct is_arithmetic <float > : public true_type { };
You can’t perform that action at this time.
0 commit comments