diff options
Diffstat (limited to 'boost/type_traits/type_identity.hpp')
-rw-r--r-- | boost/type_traits/type_identity.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/boost/type_traits/type_identity.hpp b/boost/type_traits/type_identity.hpp index 6d2dd5b4dc..73cb3f3f9e 100644 --- a/boost/type_traits/type_identity.hpp +++ b/boost/type_traits/type_identity.hpp @@ -17,6 +17,13 @@ template<class T> struct type_identity typedef T type; }; +#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) + +template <class T> using type_identity_t = typename type_identity<T>::type; + +#endif + + } // namespace boost #endif // #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED |