chsvlib
chsv helper source code

◆ operator[]()

value_type operator[] ( difference_type  n) const

Provides an arbitrary access to the underlying iterated sequence.

Parameters
nA signed integral offset of a position of the element of interest with respect to the position of the current iterator.
Returns
A result of transformation of a result of dereferencing of the corresponding base iterator at a position offset by n.

The operator is only implemented by random-access transforming iterators, i.e. if the adopted iterator implements the random-access semantics.