1#ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED
2#define BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED
3
4//
5// Copyright 2015 Peter Dimov
6//
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
10//
11
12namespace boost
13{
14
15template<class T> struct type_identity
16{
17 typedef T type;
18};
19
20} // namespace boost
21
22#endif // #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED
23

source code of boost/boost/type_traits/type_identity.hpp