[#BloombergLP-bdlt-Formatter-format]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Formatter.adoc[Formatter]::format
:relfileprefix: ../../../
:mrdocs:

Write `value` formatted to `formatContext&period;out()`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;formatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;FORMAT&lowbar;CONTEXT,
    class t&lowbar;VALUE&gt;
t&lowbar;FORMAT&lowbar;CONTEXT::iterator
format(
    t&lowbar;VALUE const& value,
    t&lowbar;FORMAT&lowbar;CONTEXT& formatContext) const;
----

== Description

Write the output to `formatContext&period;out()` and return the output iterator after the output is done&period;

== Return Value

output iterator after writing

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| value to format
| *formatContext*
| format context providing the output iterator
|===


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