chsvlib
chsv helper source code

◆ at() [2/2]

ElementType& at ( std::size_t  off)
noexcept

A functional modifying accessor of a vector element by its 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.