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;

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;
template<class FormatContext>
FormatContext::iterator
format(
    T const&,
    FormatContext& ctx) const;

Return Value

  • The output iterator past the formatted output.

  • An iterator past the written output.

Parameters

Name

Description

st

The strong value to format.

ctx

The formatting context.

e

The rich error to format.

Created with MrDocs