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 
48 namespace blaze {
49 
50 //=================================================================================================
51 //
52 // CLASS DEFINITION
53 //
54 //=================================================================================================
55 
56 //*************************************************************************************************
79 template< typename Base, typename Derived >
80 class IsBaseOf : public BoolConstant< std::is_base_of< RemoveCV_<Base>, RemoveCV_<Derived> >::value >
81 {};
82 //*************************************************************************************************
83 
84 } // namespace blaze
85 
86 #endif
Header file for the RemoveCV type trait.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the IntegralConstant class template.
Compile time analysis of an inheritance relationship.This type trait tests for an inheritance relatio...
Definition: IsBaseOf.h:80