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.

Synopsis

Declared in <bdlc_compactedarray.h>

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

Description

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

modifiable reference to stream

Parameters

Name

Description

stream

output stream to write to

array

array whose value is written

Created with MrDocs