fmt::formatter<T>::format

format overloads

Synopses

Declared in <folly/lang/Strong.h>

Format a strong value by formatting its underlying value.

auto
format(
    T const& st,
    auto& ctx) const;
» more...

Formats e (with its epitaph stack) into the output of ctx.

format_context::iterator
format(
    folly::rich_error_base const& e,
    format_context& ctx) const;
» more...
template<class FormatContext>
FormatContext::iterator
format(
    T const&,
    FormatContext& ctx) const;
» more...

Return Value

  • The output iterator past the formatted output.
  • An iterator past the written output.

Parameters

NameDescription
stThe strong value to format.
ctxThe formatting context.
eThe rich error to format.