Serialize

Serialize a set as a CompactSize count followed by its elements.

Synopsis

Declared in <serialize.h>

template<
    typename Stream,
    typename K,
    typename Pred,
    typename A>
void
Serialize(
    Stream& os,
    std::set<K, Pred, A> const& m);

Parameters

NameDescription
osThe output stream.
mThe set to serialize.