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 2024. The current version is 1.90.0.
Return the maximum number of elements any object can hold.
static constexpr std::size_t
max_size() noexcept;
The maximum is an implementation-defined number dependent on system or library implementation. This value is a theoretical limit; at runtime, the actual maximum size may be less due to resource limits.
Constant.
No-throw guarantee.