Write the specified set to the specified output stream.

Synopsis

Declared in <bdlc_flathashset.h>

template<
    class KEY,
    class HASH,
    class EQUAL>
std::ostream&
operator<<(
    std::ostream& stream,
    FlatHashSet<KEY, HASH, EQUAL> const& set);

Description

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

set

set whose value is written

Created with MrDocs