Back to Arangodb

Swappable Iterator Concept

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

3.12.9.1754 B
Original Source

Swappable Iterator Concept

A class or built-in type X models the Swappable Iterator concept if, in addition to X being Copy Constructible, the following expressions are valid and respect the stated semantics.

Swappable Iterator Requirements (in addition to Copy Constructible)
Expression
---
iter_swap(a, b)

[Note: An iterator that is a model of the Readable and Writable Iterator conceptsis also a model of Swappable Iterator. --end note]


View document source. Generated by Docutils from reStructuredText source.