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>;
Note

This function is a hidden friend of vector_UintPtrConversionIterator, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

distance from the iterator to the sentinel

Parameters

Name

Description

s

sentinel marking the end of the range

i

iterator from which the distance is measured

Created with MrDocs