Back to Arangodb

Bidirectional Traversal Concept

3rdParty/boost/1.78.0/libs/iterator/doc/BidirectionalTraversal.html

3.12.9.1944 B
Original Source

Bidirectional Traversal Concept

A class or built-in type X models the Bidirectional Traversal concept if, in addition to X meeting the requirements of Forward Traversal Iterator, the following expressions are valid and respect the stated semantics.

Bidirectional Traversal Iterator Requirements (in addition to Forward Traversal Iterator)
Expression
---
--r
r--
{
  X tmp = r;
  --r;
  return tmp;
}

| | iterator_traversal<X>::type | Convertible to bidirectional_traversal_tag | |


View document source. Generated by Docutils from reStructuredText source.