fmt::range_format_kind

Determines the range_format used to format T, e.g. map, set, string, or disabled if T is not a formattable range.

Synopsis

Declared in <fmt/ranges.h>

template<
    typename T,
    typename Char,
    typename Enable = void>
struct range_format_kind
    : conditional_t<is_range<T, Char>::value, /* implementation-defined */, std::integral_constant<range_format, range_format::disabled>>

Base Classes

NameDescription
conditional_t<is_range<T, Char>::value, /* implementation-defined */, std::integral_constant<range_format, range_format::disabled>>Alias for std::conditional<B, T, F>::type, provided for compilers that predate C++14's std::conditional_t.