Write the value of map to the specified output stream.

Synopsis

Declared in <bdlc_flathashmap.h>

template<
    class KEY,
    class VALUE,
    class HASH,
    class EQUAL>
std::ostream&
operator<<(
    std::ostream& stream,
    FlatHashMap<KEY, VALUE, HASH, EQUAL> const& map);

Description

Write the value of the specified map 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

modifiable reference to stream

Parameters

Name

Description

stream

output stream to write to

map

map whose value is written

Created with MrDocs