type_identity.hpp
Go to the documentation of this file.
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 
12 namespace boost
13 {
14 
15 template<class T> struct type_identity
16 {
17  typedef T type;
18 };
19 
20 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
21 
22 template <class T> using type_identity_t = typename type_identity<T>::type;
23 
24 #endif
25 
26 
27 } // namespace boost
28 
29 #endif // #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
typename type_identity< T >::type type_identity_t


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:12