A Forward Iterator is an Input Iterator that guarantees a linear traversal over the sequence.
Forward Iterator does not define any new expressions beyond those defined in Input Iterator. However, some of the restrictions described in Input Iterator are relaxed.
|A model of Forward Iterator|
For any forward iterators i and j the following invariants always hold:
jare dereferenceable and
iis identical to
i::nextis identical to
Forward Sequence, Input Iterator, Bidirectional Iterator