diff --git a/include/boost/type_traits.hpp b/include/boost/type_traits.hpp index 4c9d8eb..0ada915 100644 --- a/include/boost/type_traits.hpp +++ b/include/boost/type_traits.hpp @@ -21,6 +21,7 @@ #include "boost/type_traits/alignment_of.hpp" #include "boost/type_traits/common_type.hpp" #include "boost/type_traits/conditional.hpp" +#include "boost/type_traits/copy_cv.hpp" #include "boost/type_traits/decay.hpp" #include "boost/type_traits/extent.hpp" #include "boost/type_traits/floating_point_promotion.hpp" @@ -91,6 +92,7 @@ #include "boost/type_traits/remove_pointer.hpp" #include "boost/type_traits/remove_reference.hpp" #include "boost/type_traits/remove_volatile.hpp" +#include "boost/type_traits/type_identity.hpp" #include "boost/type_traits/type_with_alignment.hpp" #if !(defined(__sgi) && defined(__EDG_VERSION__) && (__EDG_VERSION__ == 238)) #include "boost/type_traits/integral_promotion.hpp" diff --git a/include/boost/type_traits/detail/common_type_impl.hpp b/include/boost/type_traits/detail/common_type_impl.hpp index 93f4c1b..c9587b9 100644 --- a/include/boost/type_traits/detail/common_type_impl.hpp +++ b/include/boost/type_traits/detail/common_type_impl.hpp @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include @@ -57,12 +57,12 @@ template struct common_type_impl3; template struct common_type_class: public boost::conditional< boost::is_convertible::value && !boost::is_convertible::value, - boost::tp_identity, + boost::type_identity, typename boost::conditional< boost::is_convertible::value && !boost::is_convertible::value, - boost::tp_identity, + boost::type_identity, common_type_impl3 >::type diff --git a/include/boost/type_traits/detail/composite_pointer_type.hpp b/include/boost/type_traits/detail/composite_pointer_type.hpp index 7e3757f..c807954 100644 --- a/include/boost/type_traits/detail/composite_pointer_type.hpp +++ b/include/boost/type_traits/detail/composite_pointer_type.hpp @@ -10,7 +10,6 @@ // #include -#include #include #include #include diff --git a/include/boost/type_traits/tp_identity.hpp b/include/boost/type_traits/type_identity.hpp similarity index 56% rename from include/boost/type_traits/tp_identity.hpp rename to include/boost/type_traits/type_identity.hpp index bf96810..6d2dd5b 100644 --- a/include/boost/type_traits/tp_identity.hpp +++ b/include/boost/type_traits/type_identity.hpp @@ -1,5 +1,5 @@ -#ifndef BOOST_TYPE_TRAITS_TP_IDENTITY_HPP_INCLUDED -#define BOOST_TYPE_TRAITS_TP_IDENTITY_HPP_INCLUDED +#ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED +#define BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED // // Copyright 2015 Peter Dimov @@ -12,11 +12,11 @@ namespace boost { -template struct tp_identity +template struct type_identity { typedef T type; }; } // namespace boost -#endif // #ifndef BOOST_TYPE_TRAITS_TP_IDENTITY_HPP_INCLUDED +#endif // #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED