bsl::operator-

Return the distance from the specified i iterator to the specified s sentinel.

Synopsis

Declared in <bslstl_vector.h>

auto
operator-(
    auto s,
    vector_UintPtrConversionIterator i)
requires random_access_iterator<ITERATOR>;

Return Value

distance from the iterator to the sentinel

Parameters

NameDescription
ssentinel marking the end of the range
iiterator from which the distance is measured