chsvlib
chsv helper source code

◆ operator[]() [2/2]

ElementType& operator[] ( std::size_t  off)
noexcept

A subscript operator implementing modifying access to an arbitrary element of the vector by index.

Parameters
offThe index of the accessed element in the vector.
Returns
A reference to the accessed element.

The function does not verify the validity of the index: if one addresses an element out of the valid range, the behavior is undefined.