Go to the documentation of this file.
18 #ifndef sitkEnableIf_h
19 #define sitkEnableIf_h
47 template <
bool V,
class T =
void>
struct EnableIf {};
49 template <
class T>
struct EnableIf<true, T> {
typedef T Type; };
57 template <
bool V,
class T =
void>
struct DisableIf {};
59 template <
class T>
struct DisableIf<false, T> {
typedef T Type; };
65 #endif // sitkEnableIf_h