fmt::formatter<R, Char>::format

Formats map as a sequence of key: value pairs.

Synopsis

Declared in <fmt/ranges.h>

template<typename FormatContext>
decltype(ctx.out())
format(
    map_type& map,
    FormatContext& ctx) const;

Return Value

An iterator past the end of the output.

Parameters

NameDescription
mapThe map-like range to format.
ctxThe format context to write the output to.