58 template <
bool V,
typename TType =
void>
struct EnableIfC {};
60 template <
typename TType>
struct EnableIfC<true, TType> {
using Type = TType; };
71 template <
bool V,
typename TType =
void>
struct DisableIfC {};
73 template <
typename TType>
struct DisableIfC<false, TType> {
using Type = TType; };
103 template <
class TCondition,
class TType =
void>
104 struct EnableIf :
public EnableIfC<TCondition::Value, TType> {};
133 template <
class TCondition,
class TType =
void>
141 using mpl::DisableIf;
142 using mpl::EnableIfC;
143 using mpl::DisableIfC;
148 #endif // itkEnableIf_h
simplified way to dispose of enable_if.
simplified way to dispose of disable_if.
An implementation of the negation of the enable if idiom.