[#BloombergLP-bdlc-operator_lshift-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator&lt;&lt;
:relfileprefix: ../../
:mrdocs:

Write `array` to `stream` in a single&hyphen;line format&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
std::ostream&
operator&lt;&lt;(
    std::ostream& stream,
    xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray&lt;TYPE&gt;] const& array);
----

== Description

Write the value of the specified `array` to the specified output `stream` in a single&hyphen;line format, and return a reference providing modifiable access to `stream`&period; If `stream` is not valid on entry, this operation has no effect&period; Note that this human&hyphen;readable format is not fully specified and can change without notice&period;

== Return Value

reference providing modifiable access to `stream`

== Parameters

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


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