...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
the current capacity of the
std::size_t capacity() const;
The current total capacity of the streambuf, i.e. for both the input sequence and output sequence.