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
multi_index
detail
raw_ptr.hpp
Go to the documentation of this file.
1
/* Copyright 2003-2015 Joaquin M Lopez Munoz.
2
* Distributed under the Boost Software License, Version 1.0.
3
* (See accompanying file LICENSE_1_0.txt or copy at
4
* http://www.boost.org/LICENSE_1_0.txt)
5
*
6
* See http://www.boost.org/libs/multi_index for library home page.
7
*/
8
9
#ifndef BOOST_MULTI_INDEX_DETAIL_RAW_PTR_HPP
10
#define BOOST_MULTI_INDEX_DETAIL_RAW_PTR_HPP
11
12
#if defined(_MSC_VER)
13
#pragma once
14
#endif
15
16
#include <
boost/config.hpp
>
/* keep it first to prevent nasty warns in MSVC */
17
#include <
boost/mpl/bool.hpp
>
18
#include <
boost/type_traits/is_same.hpp
>
19
20
namespace
boost
{
21
22
namespace
multi_index{
23
24
namespace
detail{
25
26
/* gets the underlying pointer of a pointer-like value */
27
28
template
<
typename
RawPo
int
er>
29
inline
RawPointer
raw_ptr
(RawPointer
const
& p,
mpl::true_
)
30
{
31
return
p;
32
}
33
34
template
<
typename
RawPo
int
er,
typename
Po
int
er>
35
inline
RawPointer
raw_ptr
(Pointer
const
& p,
mpl::false_
)
36
{
37
return
p==Pointer(0)?0:&*p;
38
}
39
40
template
<
typename
RawPo
int
er,
typename
Po
int
er>
41
inline
RawPointer
raw_ptr
(Pointer
const
& p)
42
{
43
return
raw_ptr<RawPointer>(p,
is_same<RawPointer,Pointer>
());
44
}
45
46
}
/* namespace multi_index::detail */
47
48
}
/* namespace multi_index */
49
50
}
/* namespace boost */
51
52
#endif
false_
bool_< false > false_
Definition:
bool_fwd.hpp:25
config.hpp
bool.hpp
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::is_same
Definition:
type_traits/is_same.hpp:29
boost::multi_index::detail::raw_ptr
RawPointer raw_ptr(RawPointer const &p, mpl::true_)
Definition:
raw_ptr.hpp:29
is_same.hpp
true_
bool_< true > true_
Definition:
bool_fwd.hpp:21
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:45:49