[#BloombergLP-bslfmt-print-054]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::print
:relfileprefix: ../../
:mrdocs:

`print` overloads

== Synopses

Declared in `&lt;bslfmt&lowbar;print&lowbar;imp&period;h&gt;`

Format `args` per `fmt` and write the result to `stdout`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; t&lowbar;ARGS&gt;
void
xref:BloombergLP/bslfmt/print-05d.adoc[print](
    bsl::format&lowbar;string&lt;t&lowbar;ARGS&period;&period;&period;&gt; fmt,
    t&lowbar;ARGS&&&period;&period;&period; args);
----

[.small]#xref:BloombergLP/bslfmt/print-05d.adoc[_» more&period;&period;&period;_]#

Format arguments and write the result to an output stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; t&lowbar;ARGS&gt;
void
xref:BloombergLP/bslfmt/print-02.adoc[print](
    std::ostream& stream,
    bsl::format&lowbar;string&lt;t&lowbar;ARGS&period;&period;&period;&gt; fmt,
    t&lowbar;ARGS&&&period;&period;&period; args);
----

[.small]#xref:BloombergLP/bslfmt/print-02.adoc[_» more&period;&period;&period;_]#

Format `args` per `fmt` and write the result to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; t&lowbar;ARGS&gt;
void
xref:BloombergLP/bslfmt/print-09.adoc[print](
    FILE* stream,
    bsl::format&lowbar;string&lt;t&lowbar;ARGS&period;&period;&period;&gt; fmt,
    t&lowbar;ARGS&&&period;&period;&period; args);
----

[.small]#xref:BloombergLP/bslfmt/print-09.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fmt*
| format string
| *args*
| values to be formatted
| *stream*
| output stream to which the formatted text is written
|===


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