boost::capy::buffer_size_mrdocs_workaround_t
Return the total byte count across all buffers in a sequence.
Synopsis
Declared in <boost/capy/buffers.hpp>
struct buffer_size_mrdocs_workaround_t;
Description
Sums the size() of each buffer in the sequence. This differs from buffer_length which counts the number of buffer elements.
Example
std::array<mutable_buffer, 2> bufs = { ... };
std::size_t total = buffer_size( bufs ); // sum of both sizes
Member Functions
Name |
Created with MrDocs