Subtraction operators

Synopses

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;

Return the distance between this iterator and the specified rhs iterator.

std::ptrdiff_t
operator‐(DequeIterator const& rhs) const;

Return Value

  • iterator pointing offset elements before this iterator

  • signed distance from rhs to this iterator

Parameters

Name

Description

offset

number of elements before this iterator

rhs

iterator from which to measure the distance

Created with MrDocs