Blaze 3.9
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
47namespace blaze {
48
49//=================================================================================================
50//
51// CLASS ISDESTRUCTIBLE
52//
53//=================================================================================================
54
55//*************************************************************************************************
71template< typename T >
73 : public BoolConstant< std::is_destructible<T>::value >
74{};
75//*************************************************************************************************
76
77
78//*************************************************************************************************
91template< typename T >
93//*************************************************************************************************
94
95
96
97
98//=================================================================================================
99//
100// CLASS ISNOTHROWDESTRUCTIBLE
101//
102//=================================================================================================
103
104//*************************************************************************************************
120template< typename T >
122 : public BoolConstant< std::is_nothrow_destructible<T>::value >
123{};
124//*************************************************************************************************
125
126
127//*************************************************************************************************
140template< typename T >
142//*************************************************************************************************
143
144} // namespace blaze
145
146#endif
Header file for the IntegralConstant class template.
constexpr bool IsDestructible_v
Auxiliary variable template for the IsDestructible type trait.
Definition: IsDestructible.h:92
constexpr bool IsNothrowDestructible_v
Auxiliary variable template for the IsNothrowDestructible type trait.
Definition: IsDestructible.h:141
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time type check.
Definition: IsDestructible.h:74
Compile time type check.
Definition: IsDestructible.h:123