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 
15 
16 namespace boost {
17 
18  namespace detail{
19  template <class B, class D>
21  {
22  typedef typename remove_cv<B>::type ncvB;
23  typedef typename remove_cv<D>::type ncvD;
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_MOVE_USE_STANDARD_LIBRARY_MOVE.
remove_cv< D >::type ncvD
Definition: is_base_of.hpp:23
GLfloat value
remove_cv< B >::type ncvB
Definition: is_base_of.hpp:22
const char * detail
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)))


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:17