[#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_format_arg<basic_format_context<t_OUT, t_CHAR>>]::xref:BloombergLP/bslfmt/basic_format_arg-05/handle.adoc[handle]::format :relfileprefix: ../../../../ :mrdocs: Format the contained value according to `pc` into `fc`. == Synopsis Declared in `<bslfmt_format_arg.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void format( xref:BloombergLP/bslfmt/basic_format_parse_context.adoc[basic_format_parse_context<t_CHAR>]& pc, xref:BloombergLP/bslfmt/basic_format_context.adoc[basic_format_context<t_OUT, t_CHAR>]& fc) const; ---- == Description Format the contained value using a formatter for the template parameter `t_TYPE` used in the construction of this object. The constructed formatter will parse the specification in the specified `pc` context and write the output to the specified `fc` context. == 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]#