deserialize_type

Dummy data type to identify deserializing constructors.

Synopsis

Declared in <serialize.h>

struct deserialize_type;

Description

By convention, a constructor of a type T with signature

template <typename Stream> T::T(deserialize_type, Stream& s)

is a deserializing constructor, which builds the type by deserializing it from s. If T contains const fields, this is likely the only way to do so.