add_lvalue_reference.hpp
Go to the documentation of this file.
1 // Copyright 2010 John Maddock
2 
3 // Distributed under the Boost Software License, Version 1.0.
4 // See http://www.boost.org/LICENSE_1_0.txt
5 
6 #ifndef BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
7 #define BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
8 
10 
11 namespace boost{
12 
13 template <class T> struct add_lvalue_reference
14 {
16 };
17 
18 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
19 template <class T> struct add_lvalue_reference<T&&>
20 {
21  typedef T& type;
22 };
23 #endif
24 
25 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
26 
27  template <class T> using add_lvalue_reference_t = typename add_lvalue_reference<T>::type;
28 
29 #endif
30 
31 }
32 
33 #endif // BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP
boost::add_lvalue_reference_t
typename add_lvalue_reference< T >::type add_lvalue_reference_t
Definition: add_lvalue_reference.hpp:27
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition: core/addressof.hpp:19
boost::add_lvalue_reference< T && >::type
T & type
Definition: add_lvalue_reference.hpp:21
boost::add_lvalue_reference
Definition: add_lvalue_reference.hpp:13
boost::add_lvalue_reference::type
boost::add_reference< T >::type type
Definition: add_lvalue_reference.hpp:15
add_reference.hpp
t265_stereo.T
T
Definition: t265_stereo.py:157
boost::add_reference::type
boost::detail::add_reference_impl< T >::type type
Definition: add_reference.hpp:42


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Thu Dec 22 2022 03:13:13