class digit_grouping

Declaration

template <typename Char>
class digit_grouping { /* full declaration omitted */ };

Declared at: third_party/fmt/include/fmt/format.h:2064

Templates

Char

Method Overview

Methods

template <typename Out, typename C>
Out apply(Out out,
          basic_string_view<C> digits) const

Declared at: third_party/fmt/include/fmt/format.h:2106

Templates

Out
C

Parameters

Out out
basic_string_view<C> digits

int count_separators(int num_digits) const

Declared at: third_party/fmt/include/fmt/format.h:2097

Parameters

int num_digits

digit_grouping<Char>(fmt::detail::locale_ref loc,
                     bool localized = true)

Declared at: third_party/fmt/include/fmt/format.h:2086

Parameters

fmt::detail::locale_ref loc
bool localized = true

digit_grouping<Char>(std::string grouping,
                     std::basic_string<Char> sep)

Declared at: third_party/fmt/include/fmt/format.h:2092

Parameters

std::string grouping
std::basic_string<Char> sep

bool has_separator() const

Declared at: third_party/fmt/include/fmt/format.h:2095