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
optional
detail
optional_factory_support.hpp
Go to the documentation of this file.
1
// Copyright (C) 2003, 2008 Fernando Luis Cacciola Carballal.
2
// Copyright (C) 2016 Andrzej Krzemienski.
3
//
4
// Use, modification, and distribution is subject to the Boost Software
5
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6
// http://www.boost.org/LICENSE_1_0.txt)
7
//
8
// See http://www.boost.org/libs/optional for documentation.
9
//
10
// You are welcome to contact the author at:
11
// fernando_cacciola@hotmail.com
12
// akrzemi1@gmail.com
13
14
#ifndef BOOST_OPTIONAL_OPTIONAL_DETAIL_OPTIONAL_FACTORY_SUPPORT_AJK_12FEB2016_HPP
15
#define BOOST_OPTIONAL_OPTIONAL_DETAIL_OPTIONAL_FACTORY_SUPPORT_AJK_12FEB2016_HPP
16
17
// Daniel Wallin discovered that bind/apply.hpp badly interacts with the apply<>
18
// member template of a factory as used in the optional<> implementation.
19
// He proposed this simple fix which is to move the call to apply<> outside
20
// namespace boost.
21
namespace
boost_optional_detail
22
{
23
template
<
class
T,
class
Factory>
24
inline
void
construct
(Factory
const
& factory,
void
* address)
25
{
26
factory.BOOST_NESTED_TEMPLATE apply<T>(address);
27
}
28
}
29
30
namespace
boost
31
{
32
class
in_place_factory_base ;
33
class
typed_in_place_factory_base ;
34
}
35
36
#endif // header guard
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost_optional_detail::construct
void construct(Factory const &factory, void *address)
Definition:
optional_factory_support.hpp:24
boost_optional_detail
Definition:
optional_factory_support.hpp:21
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:45:34