Serialize

Serialize the object pointed to by a shared_ptr.

Synopsis

Declared in <serialize.h>

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

Parameters

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