Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
third-party
realsense-file
boost
boost
type_traits
is_base_of_tr1.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_TR1_HPP_INCLUDED
10
#define BOOST_TT_IS_BASE_OF_TR1_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
{
namespace
tr1{
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
= ((::
boost::detail::is_base_and_derived_impl<ncvB,ncvD>::value
) || (::
boost::is_same<ncvB,ncvD>::value
)));
25
};
26
}
27
28
template
<
class
Base,
class
Derived>
struct
is_base_of
29
:
public
integral_constant
<bool, (::boost::tr1::detail::is_base_of_imp<Base, Derived>::value)>{};
30
31
template
<
class
Base,
class
Derived>
struct
is_base_of
<Base, Derived&> :
public
false_type
{};
32
template
<
class
Base,
class
Derived>
struct
is_base_of
<Base&, Derived&> :
public
false_type
{};
33
template
<
class
Base,
class
Derived>
struct
is_base_of
<Base&, Derived> :
public
false_type
{};
34
35
} }
// namespace boost
36
37
#endif // BOOST_TT_IS_BASE_OF_TR1_HPP_INCLUDED
boost::remove_cv::type
T type
Definition:
remove_cv.hpp:21
boost::tr1::detail::is_base_of_imp
Definition:
is_base_of_tr1.hpp:20
is_base_and_derived.hpp
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
boost::detail::is_base_and_derived_impl
Definition:
is_base_and_derived.hpp:205
value
GLfloat value
Definition:
glad/glad/glad.h:2100
boost::tr1::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)))
is_class.hpp
el::base::consts::detail
const char * detail
Definition:
easylogging++.h:774
is_same.hpp
boost::tr1::detail::is_base_of_imp::ncvB
remove_cv< B >::type ncvB
Definition:
is_base_of_tr1.hpp:22
boost::tr1::detail::is_base_of_imp::ncvD
remove_cv< D >::type ncvD
Definition:
is_base_of_tr1.hpp:23
boost::is_same
Definition:
is_same.hpp:29
boost::tr1::is_base_of
Definition:
is_base_of_tr1.hpp:28
boost::integral_constant
Definition:
integral_constant.hpp:52
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:17