Template Class arg_formatter

Inheritance Relationships

Base Type

Class Documentation

template<typename Range>
class arg_formatter : public fmt::v6::internal::arg_formatter_base<Range>

The default argument formatter.

Public Types

template<>
using range = Range
template<>
using iterator = typename base::iterator
template<>
using format_specs = typename base::format_specs

Public Functions

arg_formatter(context_type &ctx, basic_format_parse_context<char_type> *parse_ctx = nullptr, format_specs *specs = nullptr)

Constructs an argument formatter object.

ctx* is a reference to the formatting context, specs* contains format specifier information for standard argument types.

iterator operator()(typename basic_format_arg<context_type>::handle handle)

Formats an argument of a user-defined type.