Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
third-party
realsense-file
boost
boost
type_traits
add_reference.hpp
Go to the documentation of this file.
1
2
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
3
// Use, modification and distribution are subject to the Boost Software License,
4
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5
// http://www.boost.org/LICENSE_1_0.txt).
6
//
7
// See http://www.boost.org/libs/type_traits for most recent version including documentation.
8
9
#ifndef BOOST_TT_ADD_REFERENCE_HPP_INCLUDED
10
#define BOOST_TT_ADD_REFERENCE_HPP_INCLUDED
11
12
#include <
boost/detail/workaround.hpp
>
13
#include <
boost/config.hpp
>
14
15
namespace
boost
{
16
17
namespace
detail
{
18
19
//
20
// We can't filter out rvalue_references at the same level as
21
// references or we get ambiguities from msvc:
22
//
23
24
template
<
typename
T>
25
struct
add_reference_impl
26
{
27
typedef
T
&
type
;
28
};
29
30
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
31
template
<
typename
T>
32
struct
add_reference_impl
<
T
&&>
33
{
34
typedef
T
&&
type
;
35
};
36
#endif
37
38
}
// namespace detail
39
40
template
<
class
T>
struct
add_reference
41
{
42
typedef
typename
boost::detail::add_reference_impl<T>::type
type
;
43
};
44
template
<
class
T>
struct
add_reference
<
T
&>
45
{
46
typedef
T
&
type
;
47
};
48
49
// these full specialisations are always required:
50
template
<>
struct
add_reference
<
void
> {
typedef
void
type
; };
51
#ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS
52
template
<>
struct
add_reference
<const
void
> {
typedef
const
void
type
; };
53
template
<>
struct
add_reference
<const volatile
void
> {
typedef
const
volatile
void
type
; };
54
template
<>
struct
add_reference
<volatile
void
> {
typedef
volatile
void
type
; };
55
#endif
56
57
#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
58
59
template
<
class
T>
using
add_reference_t
=
typename
add_reference<T>::type
;
60
61
#endif
62
63
64
}
// namespace boost
65
66
#endif // BOOST_TT_ADD_REFERENCE_HPP_INCLUDED
boost::add_reference< T & >::type
T & type
Definition:
add_reference.hpp:46
void
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
boost::add_reference< volatile void >::type
volatile void type
Definition:
add_reference.hpp:54
config.hpp
workaround.hpp
boost::detail::add_reference_impl
Definition:
add_reference.hpp:25
boost::add_reference< const void >::type
const void type
Definition:
add_reference.hpp:52
boost::detail::add_reference_impl< T && >::type
T && type
Definition:
add_reference.hpp:34
t265_stereo.T
T
Definition:
t265_stereo.py:157
boost::detail::add_reference_impl::type
T & type
Definition:
add_reference.hpp:27
boost::add_reference_t
typename add_reference< T >::type add_reference_t
Definition:
add_reference.hpp:59
boost::add_reference< const volatile void >::type
const volatile void type
Definition:
add_reference.hpp:53
el::base::consts::detail
const char * detail
Definition:
easylogging++.h:774
boost::add_reference< void >::type
void type
Definition:
add_reference.hpp:50
boost::add_reference
Definition:
add_reference.hpp:40
boost::add_reference::type
boost::detail::add_reference_impl< T >::type type
Definition:
add_reference.hpp:42
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:45:06