Subtraction operators
Declared in <bslalg_dequeiterator.h>
Return an iterator pointing the element at the specified offset before this iterator.
DequeIterator<VALUE_TYPE, 1>
operator-(std::ptrdiff_t offset) const;
» more...
Return the distance between this iterator and the specified rhs iterator.
std::ptrdiff_t
operator-(DequeIterator const& rhs) const;
» more...
offset elements before this iteratorrhs to this iterator| Name | Description |
|---|---|
| offset | number of elements before this iterator |
| rhs | iterator from which to measure the distance |