...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Copy Constructor.
serializer( serializer const&);
Moving or copying the serializer after the first call to serializer::next
results in undefined behavior.
Try to heap-allocate the serializer object if you need to move the serializer
between multiple async operations (for example, between a call to async_write_header
and async_write
).