BloombergLP::bdlc::operator<<

Write array to stream in a single-line format.

Synopsis

Declared in <bdlc_packedintarray.h>

template<class TYPE>
std::ostream&
operator<<(
    std::ostream& stream,
    PackedIntArray<TYPE> const& array);

Description

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

Return Value

reference providing modifiable access to stream

Parameters

NameDescription
streamoutput stream to write to
arrayarray to write