...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the next set of buffers in the serialization.
template< class Visit> void next( error_code& ec, Visit&& visit);
This function will attempt to call the visit
function object with a ConstBufferSequence of unspecified
type representing the next set of buffers in the serialization of the message
represented by this object.
If there are no more buffers in the serialization, the visit function will
not be called. In this case, no error will be indicated, and the function
is_done
will return true
.
Name |
Description |
---|---|
|
Set to the error, if any occurred. |
|
The function to call. The equivalent function signature of this object must be: template < class ConstBufferSequence> void visit(error_code&, ConstBufferSequence const &);
The function is not copied, if no error occurs it will be invoked
before the call to |