]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/type_traits/type_identity.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / type_traits / type_identity.hpp
CommitLineData
7c673cae
FG
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
11fdf7f2
TL
12#include <boost/config.hpp>
13
7c673cae
FG
14namespace boost
15{
16
17template<class T> struct type_identity
18{
19 typedef T type;
20};
21
b32b8144
FG
22#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
23
24template <class T> using type_identity_t = typename type_identity<T>::type;
25
26#endif
27
28
7c673cae
FG
29} // namespace boost
30
31#endif // #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED