Defines a serialization in terms of a representation type. More...
Static Public Member Functions | |
static T | get (R &&r) |
Reconstruct an object. | |
static R | put (const T &) |
Convert an object. | |
static std::size_t | size (const T &) |
Get the serialized size of an object. | |
Defines a serialization in terms of a representation type.
The primary template is not really a complete type.
T | object type |
|
static |
Convert an object.
|
static |
Get the serialized size of an object.
This interface is optional; put
will be called twice in its absence.
|
static |
Reconstruct an object.
r | reconstructed object returned from put |