Blaze 3.9
Loading...
Searching...
No Matches
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
47namespace blaze {
48
49//=================================================================================================
50//
51// CLASS DEFINITION
52//
53//=================================================================================================
54
55//*************************************************************************************************
86template< typename From, typename To >
88 : public BoolConstant< std::is_convertible<From,To>::value >
89{};
90//*************************************************************************************************
91
92
93//*************************************************************************************************
106template< typename From, typename To >
108//*************************************************************************************************
109
110} // namespace blaze
111
112#endif
Header file for the IntegralConstant class template.
constexpr bool IsConvertible_v
Auxiliary variable template for the IsConvertible type trait.
Definition IsConvertible.h:107
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition IntegralConstant.h:110
Compile time pointer relationship constraint.
Definition IsConvertible.h:89