From 7b57ce4392c5a3dcaa4de591f5ca591bf80e18ab Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Sun, 18 Feb 2001 16:07:01 +0000 Subject: [PATCH] using ice_not<> instead of logical not "!" helps IRIX and Compaq C++ [SVN r9254] --- include/boost/type_traits/composite_traits.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/type_traits/composite_traits.hpp b/include/boost/type_traits/composite_traits.hpp index fd7b62d..3f831ac 100644 --- a/include/boost/type_traits/composite_traits.hpp +++ b/include/boost/type_traits/composite_traits.hpp @@ -131,7 +131,7 @@ template struct is_pointer_helper { BOOST_DECL_MC(bool, value, true); }; } // namespace detail template struct is_pointer -{ BOOST_DECL_MC(bool, value, (::boost::type_traits::ice_and< ::boost::detail::is_pointer_helper::value, !::boost::is_member_pointer::value>::value)); }; +{ BOOST_DECL_MC(bool, value, (::boost::type_traits::ice_and< ::boost::detail::is_pointer_helper::value, ::boost::type_traits::ice_not< ::boost::is_member_pointer::value >::value >::value)); }; #else template struct is_pointer @@ -254,8 +254,8 @@ template struct is_enum { BOOST_DECL_MC(bool, value, (::boost::type_traits::ice_and< - !::boost::is_arithmetic::value, - !::boost::is_reference::value, + ::boost::type_traits::ice_not< ::boost::is_arithmetic::value>::value, + ::boost::type_traits::ice_not< ::boost::is_reference::value>::value, ::boost::is_convertible::value >::value)); };