forked from boostorg/type_traits
add "typename"s to last change
[SVN r11497]
This commit is contained in:
1 parent
f81e702ca9
commit
f0158e1d23
1 file changed
+5
-5
@@ -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<T>::is_POD_type, ::__true_type>::value
|
||||
# define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) ::boost::is_same< ::__type_traits<T>::has_trivial_default_constructor, ::__true_type>::value
|
||||
# define BOOST_HAS_TRIVIAL_COPY(T) ::boost::is_same< ::__type_traits<T>::has_trivial_copy_constructor, ::__true_type>::value
|
||||
# define BOOST_HAS_TRIVIAL_ASSIGN(T) ::boost::is_same< ::__type_traits<T>::has_trivial_assignment_operator, ::__true_type>::value
|
||||
# define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) ::boost::is_same< ::__type_traits<T>::has_trivial_destructor, ::__true_type>::value
|
||||
# define BOOST_IS_POD(T) ::boost::is_same< typename ::__type_traits<T>::is_POD_type, ::__true_type>::value
|
||||
# define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) ::boost::is_same< typename ::__type_traits<T>::has_trivial_default_constructor, ::__true_type>::value
|
||||
# define BOOST_HAS_TRIVIAL_COPY(T) ::boost::is_same< typename ::__type_traits<T>::has_trivial_copy_constructor, ::__true_type>::value
|
||||
# define BOOST_HAS_TRIVIAL_ASSIGN(T) ::boost::is_same< typename ::__type_traits<T>::has_trivial_assignment_operator, ::__true_type>::value
|
||||
# define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) ::boost::is_same< typename ::__type_traits<T>::has_trivial_destructor, ::__true_type>::value
|
||||
#endif
|
||||
|
||||
#ifndef BOOST_IS_CLASS
|
||||
|
||||
Reference in new issue
Block a user