...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return the maximum number of bytes, both readable and writable, that can be held without requiring an allocation.
std::size_t capacity() const;