bsl::operator-

Subtraction operators

Synopses

Declared in <bslstl_vector.h>

Return the distance between the specified sentinel s and the specified iterator i. The behavior is undefined unless s and i iterate over the same sequence.

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. 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.

difference_type
operator-(
    vector_UintPtrConversionIterator const& lhs,
    vector_UintPtrConversionIterator const& rhs)
requires requires { lhs.d_iter - rhs.d_iter; };
» more...