[#BloombergLP-bslfmt-StreamedFormatter-format]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/StreamedFormatter.adoc[StreamedFormatter]::format
:relfileprefix: ../../../
:mrdocs:

Format the specified `value` according to the specification stored as a result of a previous call to the `parse` method, and write the result to the iterator accessed by calling the `out()` method on the specified `formatContext` parameter&period; Return an end iterator of the output range&period; Throw an exception of type `bsl&colon;&colon;format&lowbar;error` in the event of failure&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;streamedformatter&period;h&gt;`

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


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