IsConvertible.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_TYPETRAITS_ISCONVERTIBLE_H_
36 #define _BLAZE_UTIL_TYPETRAITS_ISCONVERTIBLE_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <type_traits>
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITION
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
86 template< typename From, typename To >
87 struct IsConvertible : public BoolConstant< std::is_convertible<From,To>::value >
88 {};
89 //*************************************************************************************************
90 
91 } // namespace blaze
92 
93 #endif
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
Compile time pointer relationship constraint.This type traits tests whether the first given template ...
Definition: IsConvertible.h:87
Header file for the IntegralConstant class template.