File indexing completed on 2025-01-30 10:01:42
0001 #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED
0002 #define BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include <boost/config.hpp>
0013
0014 namespace boost
0015 {
0016
0017 template<class T> struct type_identity
0018 {
0019 typedef T type;
0020 };
0021
0022 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
0023
0024 template <class T> using type_identity_t = typename type_identity<T>::type;
0025
0026 #endif
0027
0028
0029 }
0030
0031 #endif