Return the distance between the specified lhs iterator and the specified rhs iterator.
Synopsis
Declared in <bslstl_vector.h>
difference_type
operator‐(
vector_UintPtrConversionIterator const& lhs,
vector_UintPtrConversionIterator const& rhs)
requires requires { lhs.d_iter ‐ rhs.d_iter; };
Description
Return the distance between the specified lhs iterator and the specified rhs iterator. The behavior is undefined if lhs and rhs do not iterate over the same sequence, or if the (template parameter) type ITERATOR is not a random access iterator.
Return Value
signed distance from rhs to lhs
Parameters
Name |
Description |
lhs |
left‐hand operand |
rhs |
right‐hand operand |
Created with MrDocs