chsvlib
chsv helper source code

◆ operator++() [2/2]

unspecified_dereferencable_type operator++ ( int  )

Advances the position of the transforming iterator returning a copy of the iterator in the previous state.

Returns
If the transforming iterator (and respectively its base iterator) implements semantics of an input iterator, the operator returns an object of an unspecified type which can be dereferenced to obtain a previous value, i.e. associated with the transforming iterator before the increment. Otherwise, if the iterator implements at least the semantics of a forward iterator, the post-increment operator returns a copy of the transforming iterator before the advancement of its position has taken place.