[#BloombergLP-bslfmt-println-0ce]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::println
:relfileprefix: ../../
:mrdocs:

`println` overloads

== Synopses

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

Write &grave;
` into `stdout&grave;&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bslfmt/println-05.adoc[println]();
----

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

Write &grave;
` to the specified `stream&grave;&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bslfmt/println-07.adoc[println](std::ostream& stream);
----

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

Write &grave;
` to the specified `stream&grave;&period; The behavior is undefined unless `stream` is a valid pointer to an output C stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bslfmt/println-04.adoc[println](FILE* stream);
----

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

Format `args` per `fmt`, append a newline, and write to `stdout`&period;


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

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

Format arguments, append a newline, and write the result to a stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; t&lowbar;ARGS&gt;
void
xref:BloombergLP/bslfmt/println-0c4.adoc[println](
    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/println-0c4.adoc[_» more&period;&period;&period;_]#

Format `args` per `fmt`, append a newline, and write to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; t&lowbar;ARGS&gt;
void
xref:BloombergLP/bslfmt/println-03.adoc[println](
    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/println-03.adoc[_» more&period;&period;&period;_]#

== Parameters

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


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