[#BloombergLP-bdlc-Queue-streamOut]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/Queue.adoc[Queue]::streamOut
:relfileprefix: ../../../
:mrdocs:

Write the elements of this queue to the specified `stream`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;queue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
streamOut(std::ostream& stream) const;
----

== Description

Write the elements of this queue out to the specified `stream`&period; Note that for this method to compile, `operator&lt;&lt;` has to be defined for arguments `stream` and type `T`&period;

== Return Value

reference to the modifiable `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream to write to
|===


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