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
type_traits
is_base_of.hpp
Go to the documentation of this file.
1
2
// (C) Copyright Rani Sharoni 2003-2005.
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_IS_BASE_OF_HPP_INCLUDED
10
#define BOOST_TT_IS_BASE_OF_HPP_INCLUDED
11
12
#include <
boost/type_traits/is_base_and_derived.hpp
>
13
#include <
boost/type_traits/is_same.hpp
>
14
#include <
boost/type_traits/is_class.hpp
>
15
16
namespace
boost
{
17
18
namespace
detail{
19
template
<
class
B,
class
D>
20
struct
is_base_of_imp
21
{
22
typedef
typename
remove_cv<B>::type
ncvB
;
23
typedef
typename
remove_cv<D>::type
ncvD
;
24
BOOST_STATIC_CONSTANT
(
bool
, value = (
25
(::
boost::detail::is_base_and_derived_impl<ncvB,ncvD>::value
) ||
26
(::
boost::is_same<ncvB,ncvD>::value
&& ::
boost::is_class<ncvB>::value
)));
27
};
28
}
29
30
template
<
class
Base,
class
Derived>
struct
is_base_of
31
:
public
integral_constant
<bool, (::boost::detail::is_base_of_imp<Base, Derived>::value)> {};
32
33
template
<
class
Base,
class
Derived>
struct
is_base_of
<
Base
, Derived&> :
false_type
{};
34
template
<
class
Base,
class
Derived>
struct
is_base_of
<
Base
&, Derived&> :
false_type
{};
35
template
<
class
Base,
class
Derived>
struct
is_base_of
<
Base
&, Derived> :
false_type
{};
36
37
}
// namespace boost
38
39
#endif // BOOST_TT_IS_BASE_AND_DERIVED_HPP_INCLUDED
boost::detail::is_base_and_derived_impl
Definition:
is_base_and_derived.hpp:205
boost::is_class
Definition:
is_class.hpp:105
boost::detail::is_base_of_imp::ncvB
remove_cv< B >::type ncvB
Definition:
is_base_of.hpp:22
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::is_same
Definition:
type_traits/is_same.hpp:29
is_class.hpp
boost::detail::is_base_of_imp
Definition:
is_base_of.hpp:20
Base
is_same.hpp
is_base_and_derived.hpp
boost::is_base_of
Definition:
is_base_of.hpp:30
boost::detail::is_base_of_imp::ncvD
remove_cv< D >::type ncvD
Definition:
is_base_of.hpp:23
boost::remove_cv::type
T type
Definition:
remove_cv.hpp:21
boost::detail::is_base_of_imp::BOOST_STATIC_CONSTANT
BOOST_STATIC_CONSTANT(bool, value=((::boost::detail::is_base_and_derived_impl< ncvB, ncvD >::value)||(::boost::is_same< ncvB, ncvD >::value &&::boost::is_class< ncvB >::value)))
boost::integral_constant
Definition:
integral_constant.hpp:52
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:40:00