...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Get the size of the input sequence.
std::size_t size() const;
The size of the input sequence. The value is equal to that calculated for
s
in the following code:
size_t s = 0; const_buffers_type bufs = data(); const_buffers_type::const_iterator i = bufs.begin(); while (i != bufs.end()) { const_buffer buf(*i++); s += buffer_size(buf); }