Subtraction operators
Synopses
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>;
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; };
Return Value
-
distance from the iterator to the sentinel
-
signed distance from
rhstolhs
Parameters
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 |
Created with MrDocs