boost::capy::buffer_copy_mrdocs_workaround_t

Copy the contents of a buffer sequence into another buffer sequence.

Synopsis

struct buffer_copy_mrdocs_workaround_t;

Description

This function copies bytes from the constant buffer sequence src into the mutable buffer sequence dest, stopping when any limit is reached.

Constraints

MutableBufferSequence<decltype(dest)> &&
ConstBufferSequence<decltype(src)>

Member Functions

Name

operator()

Return Value

The number of bytes copied, equal to std::min(size(dest), size(src), at_most).

Parameters

Name Description

dest

The destination buffer sequence.

src

The source buffer sequence.

at_most

The maximum bytes to copy. Default copies all available.

Created with MrDocs