Blaze 3.9
IsBaseOf.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_UTIL_TYPETRAITS_ISBASEOF_H_
36#define _BLAZE_UTIL_TYPETRAITS_ISBASEOF_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
43#include <type_traits>
46
47
48namespace blaze {
49
50//=================================================================================================
51//
52// CLASS DEFINITION
53//
54//=================================================================================================
55
56//*************************************************************************************************
79template< typename Base, typename Derived >
81 : public BoolConstant< std::is_base_of< RemoveCV_t<Base>, RemoveCV_t<Derived> >::value >
82{};
83//*************************************************************************************************
84
85
86//*************************************************************************************************
99template< typename Base, typename Derived >
101//*************************************************************************************************
102
103} // namespace blaze
104
105#endif
Header file for the IntegralConstant class template.
Header file for the RemoveCV type trait.
Compile time analysis of an inheritance relationship.
Definition: IsBaseOf.h:82
constexpr bool IsBaseOf_v
Auxiliary variable template for the IsBaseOf type trait.
Definition: IsBaseOf.h:100
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74