BidirectionalIterator
C++ concepts: BidirectionalIterator
A BidirectionalIterator
is a ForwardIterator
that can be moved in both directions (i.e. incremented and decremented).
Requirements
The type It
satisfies BidirectionalIterator
if.
- The type
It
satisfiesForwardIterator
And, given.
-
a
andb
, iterators of typeIt
-
reference,
the type denoted bystd::iterator_traits<It>::reference
The following expressions must be valid and have their specified effects.
Expression | Return
|
---|