IsDestructible.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_TYPETRAITS_ISDESTRUCTIBLE_H_
36 #define _BLAZE_UTIL_TYPETRAITS_ISDESTRUCTIBLE_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <type_traits>
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITIONS
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
71 template< typename T >
73  : public BoolConstant< std::is_destructible<T>::value >
74 {};
75 //*************************************************************************************************
76 
77 
78 //*************************************************************************************************
94 template< typename T >
96  : public BoolConstant< std::is_nothrow_destructible<T>::value >
97 {};
98 //*************************************************************************************************
99 
100 } // namespace blaze
101 
102 #endif
Compile time type check.The IsDestructible type trait tests whether the expression.
Definition: IsDestructible.h:72
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Compile time type check.The IsDestructible type trait tests whether the expression.
Definition: IsDestructible.h:95
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the IntegralConstant class template.