[#fmt-formatter-03-format-0c]
= xref:fmt.adoc[fmt]::xref:fmt/formatter-03.adoc[formatter&lt;T&gt;]::format
:relfileprefix: ../../
:mrdocs:

`format` overloads

== Synopses

Declared in `&lt;folly&sol;lang&sol;Strong&period;h&gt;`

Format a strong value by formatting its underlying value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
auto
xref:fmt/formatter-03/format-0d.adoc[format](
    T const& st,
    auto& ctx) const;
----

[.small]#xref:fmt/formatter-03/format-0d.adoc[_» more&period;&period;&period;_]#

Formats `e` (with its epitaph stack) into the output of `ctx`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
format&lowbar;context::iterator
xref:fmt/formatter-063/format.adoc[format](
    xref:folly/rich_error_base.adoc[folly::rich&lowbar;error&lowbar;base] const& e,
    format&lowbar;context& ctx) const;
----

[.small]#xref:fmt/formatter-063/format.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class FormatContext&gt;
FormatContext::iterator
xref:fmt/formatter-03/format-09.adoc[format](
    T const&,
    FormatContext& ctx) const;
----

[.small]#xref:fmt/formatter-03/format-09.adoc[_» more&period;&period;&period;_]#

== Return Value

* The output iterator past the formatted output&period;
* An iterator past the written output&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *st*
| The strong value to format&period;
| *ctx*
| The formatting context&period;
| *e*
| The rich error to format&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
