...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 number of elements in the array.
std::size_t size() const;
This returns the number of elements in the array. The value returned may
be different from the number returned from capacity
.
Constant.
No-throw guarantee.