Subtraction operators
Declared in <bslstl_vector.h>
Return the distance from the specified i iterator to the specified s sentinel.
auto
operator-(
auto s,
vector_UintPtrConversionIterator i)
requires random_access_iterator<ITERATOR>;
» more...
Return the distance between the specified lhs iterator and the specified rhs iterator.
difference_type
operator-(
vector_UintPtrConversionIterator const& lhs,
vector_UintPtrConversionIterator const& rhs)
requires requires { lhs.d_iter - rhs.d_iter; };
» more...
rhs to lhs| Name | Description |
|---|---|
| s | sentinel marking the end of the range |
| i | iterator from which the distance is measured |
| lhs | left-hand operand |
| rhs | right-hand operand |