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.

And, given.

  • a and b, iterators of type It
  • reference, the type denoted by std::iterator_traits<It>::reference

The following expressions must be valid and have their specified effects.

Expression Return登录查看完整内容