¶template <typename Lookup, typename... KVs>
using type_switch_t =
typename type_switch<Lookup, KVs...>::type;
template <typename Lookup, typename... KVs>
using type_switch_t =
typename type_switch<Lookup, KVs...>::type;
Description
switch
equivalent of std::conditional_t
. Use as utils::type_switch_t <lookup -type, key-type-1(result-type-1), key-type-2(result-type-2), ...>
Template Parameters
- Lookup
- KVs