1 #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED
2 #define BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED
5 // Copyright 2015 Peter Dimov
7 // Distributed under the Boost Software License, Version 1.0.
8 // See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt
12 #include <boost/config.hpp>
17 template<class T> struct type_identity
22 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
24 template <class T> using type_identity_t = typename type_identity<T>::type;
31 #endif // #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED