difference_type operator- | ( | const transforming_iterator< BaseIterator, TransformingFunctor > & | right | ) | const |
Calculates a signed difference between positions of two iterators.
right | An iterator whose position is calculated with respect to the position of the current iterator. |
The operator is implemented by delegating the call to the adopted iterator.
The operator is only implemented by random-access transforming iterators, i.e. if the adopted iterator implements the random-access semantics.