18 #ifndef sitkConditional_h
19 #define sitkConditional_h
21 #include <type_traits>
37 template <
bool VCond,
int TIfTrue,
int TIfFalse>
42 typedef typename std::conditional<VCond,
43 std::integral_constant<int, TIfTrue>,
46 using Type =
typename ConditionalType::type;
47 using ValueType =
typename ConditionalType::value_type;
56 #endif // sitkConditional_h