[#BloombergLP-bslfmt-Format_ContextFactory-construct]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/Format_ContextFactory.adoc[Format&lowbar;ContextFactory]::construct
:relfileprefix: ../../../
:mrdocs:

Create a `basic&lowbar;format&lowbar;context` object holding the specified `out` output iterator and a `basic&lowbar;format&lowbar;args` object containing the specified `fmt&lowbar;args` values&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;OUT,
    class t&lowbar;CHAR&gt;
static
xref:BloombergLP/bslfmt/basic_format_context.adoc[basic&lowbar;format&lowbar;context&lt;t&lowbar;OUT, t&lowbar;CHAR&gt;]
construct(
    t&lowbar;OUT out,
    xref:BloombergLP/bslfmt/basic_format_args.adoc[basic&lowbar;format&lowbar;args&lt;basic&lowbar;format&lowbar;context&lt;t&lowbar;OUT, t&lowbar;CHAR&gt;&gt;] const& args);
----


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