More type_traits tweeks.

[SVN r9287]
This commit is contained in:
John Maddock
2001-02-20 12:17:55 +00:00
parent 7d0bb036ac
commit 8c6c6fd022

View File

@ -31,7 +31,9 @@ namespace boost{
template <typename T> struct is_void{ BOOST_STATIC_CONSTANT(bool, value = false); };
template <> struct is_void<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 <typename T> struct is_integral
{ BOOST_STATIC_CONSTANT(bool, value = false); };
template <> struct is_integral<unsigned char>
@ -264,3 +266,4 @@ struct is_fundamental