Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2023. The current version is 1.90.0.
Return the number of characters that can be held without a reallocation.
std::size_t capacity() const;
This number represents the largest number of characters the currently allocated
storage can contain. This number may be larger than the value returned
by size().
Constant.