...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Access an element.
value
const& operator[](std::size_t
pos) const& noexcept;
Returns a reference to the element specified at location pos
. No bounds checking is performed.
pos <
size()
Constant.
Name |
Description |
---|---|
|
A zero-based index |