[#BloombergLP-bslfmt-basic_format_arg-05-handle-format]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/basic_format_arg-05.adoc[basic&lowbar;format&lowbar;arg&lt;basic&lowbar;format&lowbar;context&lt;t&lowbar;OUT, t&lowbar;CHAR&gt;&gt;]::xref:BloombergLP/bslfmt/basic_format_arg-05/handle.adoc[handle]::format
:relfileprefix: ../../../../
:mrdocs:

Format the contained value according to `pc` into `fc`&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;format&lowbar;arg&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
format(
    xref:BloombergLP/bslfmt/basic_format_parse_context.adoc[basic&lowbar;format&lowbar;parse&lowbar;context&lt;t&lowbar;CHAR&gt;]& pc,
    xref:BloombergLP/bslfmt/basic_format_context.adoc[basic&lowbar;format&lowbar;context&lt;t&lowbar;OUT, t&lowbar;CHAR&gt;]& fc) const;
----

== Description

Format the contained value using a formatter for the template parameter `t&lowbar;TYPE` used in the construction of this object&period; The constructed formatter will parse the specification in the specified `pc` context and write the output to the specified `fc` context&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pc*
| parse context supplying the format specification
| *fc*
| format context receiving the formatted output
|===


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