Serialize

Serialize the object pointed to by a unique_ptr.

Synopsis

Declared in <serialize.h>

template<
    typename Stream,
    typename T>
void
Serialize(
    Stream& os,
    std::unique_ptr<T const> const& p);

Parameters

NameDescription
osThe output stream.
pThe unique pointer whose pointee is serialized.