Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
i
k
n
p
r
s
t
v
Typedefs
a
b
c
f
h
i
m
n
p
s
t
u
w
y
Enumerations
Enumerator
a
b
c
e
f
h
i
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
Enumerator
a
b
c
e
g
i
k
l
m
n
o
p
r
s
u
v
Related Functions
a
b
c
d
e
i
l
m
o
r
s
u
w
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
g
m
o
p
r
s
t
Variables
_
a
b
f
g
l
t
u
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
e
f
g
i
l
m
r
s
u
v
w
x
sick_visionary_cpp_shared
3pp
boost
detail
reference_content.hpp
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// boost detail/reference_content.hpp header file
3
// See http://www.boost.org for updates, documentation, and revision history.
4
//-----------------------------------------------------------------------------
5
//
6
// Copyright (c) 2003
7
// Eric Friedman
8
//
9
// Distributed under the Boost Software License, Version 1.0. (See
10
// accompanying file LICENSE_1_0.txt or copy at
11
// http://www.boost.org/LICENSE_1_0.txt)
12
13
#ifndef BOOST_DETAIL_REFERENCE_CONTENT_HPP
14
#define BOOST_DETAIL_REFERENCE_CONTENT_HPP
15
16
#include "
boost/config.hpp
"
17
18
# include "
boost/mpl/bool.hpp
"
19
# include "
boost/type_traits/has_nothrow_copy.hpp
"
20
21
#include "
boost/mpl/void.hpp
"
22
23
namespace
boost
{
24
25
namespace
detail {
26
28
// (detail) class template reference_content
29
//
30
// Non-Assignable wrapper for references.
31
//
32
template
<
typename
RefT>
33
class
reference_content
34
{
35
private
:
// representation
36
37
RefT
content_
;
38
39
public
:
// structors
40
41
~reference_content
()
42
{
43
}
44
45
reference_content
(RefT r)
46
:
content_
( r )
47
{
48
}
49
50
reference_content
(
const
reference_content
& operand)
51
:
content_
( operand.
content_
)
52
{
53
}
54
55
private
:
// non-Assignable
56
57
reference_content
&
operator=
(
const
reference_content
&);
58
59
public
:
// queries
60
61
RefT
get
()
const
62
{
63
return
content_
;
64
}
65
66
};
67
69
// (detail) metafunction make_reference_content
70
//
71
// Wraps with reference_content if specified type is reference.
72
//
73
74
template
<
typename
T = mpl::
void
_>
struct
make_reference_content
;
75
76
77
template
<
typename
T>
78
struct
make_reference_content
79
{
80
typedef
T
type
;
81
};
82
83
template
<
typename
T>
84
struct
make_reference_content
<
T
& >
85
{
86
typedef
reference_content<T&>
type
;
87
};
88
89
90
template
<>
91
struct
make_reference_content
< mpl::
void_
>
92
{
93
template
<
typename
T>
94
struct
apply
95
:
make_reference_content
<T>
96
{
97
};
98
99
typedef
mpl::void_
type
;
100
};
101
102
}
// namespace detail
103
105
// reference_content<T&> type traits specializations
106
//
107
108
109
template
<
typename
T>
110
struct
has_nothrow_copy
<
111
::
boost::detail::reference_content
< T& >
112
>
113
:
mpl::true_
114
{
115
};
116
117
118
}
// namespace boost
119
120
#endif // BOOST_DETAIL_REFERENCE_CONTENT_HPP
void_
Definition:
void.hpp:29
T
T
Definition:
mem_fn_cc.hpp:25
boost::detail::reference_content::reference_content
reference_content(const reference_content &operand)
Definition:
reference_content.hpp:50
config.hpp
boost::detail::reference_content::reference_content
reference_content(RefT r)
Definition:
reference_content.hpp:45
bool.hpp
boost::has_nothrow_copy
Definition:
has_nothrow_copy.hpp:78
boost::detail::reference_content::operator=
reference_content & operator=(const reference_content &)
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::detail::reference_content
Definition:
reference_content.hpp:33
boost::detail::make_reference_content
Definition:
reference_content.hpp:74
has_nothrow_copy.hpp
boost::detail::reference_content::~reference_content
~reference_content()
Definition:
reference_content.hpp:41
boost::detail::reference_content::content_
RefT content_
Definition:
reference_content.hpp:37
boost::detail::make_reference_content< mpl::void_ >::type
mpl::void_ type
Definition:
reference_content.hpp:99
true_
bool_< true > true_
Definition:
bool_fwd.hpp:21
void.hpp
boost::detail::make_reference_content< T & >::type
reference_content< T & > type
Definition:
reference_content.hpp:86
boost::detail::make_reference_content::type
T type
Definition:
reference_content.hpp:80
boost::detail::reference_content::get
RefT get() const
Definition:
reference_content.hpp:61
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:45:49