From f0158e1d23f2fc52fcadfb18ee86ebddd484eb8b Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Wed, 31 Oct 2001 21:42:57 +0000 Subject: [PATCH] add "typename"s to last change [SVN r11497] --- include/boost/type_traits/fwd.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/type_traits/fwd.hpp b/include/boost/type_traits/fwd.hpp index 5701f85..6c035d8 100644 --- a/include/boost/type_traits/fwd.hpp +++ b/include/boost/type_traits/fwd.hpp @@ -36,11 +36,11 @@ // BOOST_HAS_TRIVIAL_DESTRUCTOR(T) should evaluate to true if ~T() has no effect #ifdef BOOST_HAS_SGI_TYPE_TRAITS -# define BOOST_IS_POD(T) ::boost::is_same< ::__type_traits::is_POD_type, ::__true_type>::value -# define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) ::boost::is_same< ::__type_traits::has_trivial_default_constructor, ::__true_type>::value -# define BOOST_HAS_TRIVIAL_COPY(T) ::boost::is_same< ::__type_traits::has_trivial_copy_constructor, ::__true_type>::value -# define BOOST_HAS_TRIVIAL_ASSIGN(T) ::boost::is_same< ::__type_traits::has_trivial_assignment_operator, ::__true_type>::value -# define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) ::boost::is_same< ::__type_traits::has_trivial_destructor, ::__true_type>::value +# define BOOST_IS_POD(T) ::boost::is_same< typename ::__type_traits::is_POD_type, ::__true_type>::value +# define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) ::boost::is_same< typename ::__type_traits::has_trivial_default_constructor, ::__true_type>::value +# define BOOST_HAS_TRIVIAL_COPY(T) ::boost::is_same< typename ::__type_traits::has_trivial_copy_constructor, ::__true_type>::value +# define BOOST_HAS_TRIVIAL_ASSIGN(T) ::boost::is_same< typename ::__type_traits::has_trivial_assignment_operator, ::__true_type>::value +# define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) ::boost::is_same< typename ::__type_traits::has_trivial_destructor, ::__true_type>::value #endif #ifndef BOOST_IS_CLASS