Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2021. The current version is 1.89.0.
Constructor.
serializer( value_type& msg);
The implementation guarantees that the message passed on construction
will not be accessed until the first call to next. This allows the message
to be lazily created. For example, if the header is filled in before
serialization.
|
Name |
Description |
|---|---|
|
|
A reference to the message to serialize, which must remain
valid for the lifetime of the serializer. Depending on the
type of Body used, this may or may not be a |
This function participates in overload resolution only if Body::writer
is constructible from a const
message reference.