From 8c6c6fd02236e6046039c9a0408bb4a9ff95097c Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 20 Feb 2001 12:17:55 +0000 Subject: [PATCH] More type_traits tweeks. [SVN r9287] --- include/boost/type_traits/arithmetic_traits.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/type_traits/arithmetic_traits.hpp b/include/boost/type_traits/arithmetic_traits.hpp index 77e1f06..d6295fa 100644 --- a/include/boost/type_traits/arithmetic_traits.hpp +++ b/include/boost/type_traits/arithmetic_traits.hpp @@ -31,7 +31,9 @@ namespace boost{ template struct is_void{ BOOST_STATIC_CONSTANT(bool, value = false); }; template <> struct is_void{ BOOST_STATIC_CONSTANT(bool, value = true); }; -//* is a type T an integral type described in the standard (3.9.1p3) +//* is a type T an [cv-qualified-] integral type described in the standard (3.9.1p3) +// as an extention we include long long, as this is likely to be added to the +// standard at a later date template struct is_integral { BOOST_STATIC_CONSTANT(bool, value = false); }; template <> struct is_integral @@ -264,3 +266,4 @@ struct is_fundamental +