Return the signed distance between two iterators (see free operator‐).

Synopsis

Declared in <bdlc_packedintarray.h>

template<>
std::ptrdiff_t
operator‐<>(
    PackedIntArrayConstIterator const& lhs,
    PackedIntArrayConstIterator const& rhs);
Note

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

Return Value

signed distance from rhs to lhs

Parameters

Name

Description

lhs

left‐hand‐side iterator

rhs

right‐hand‐side iterator

Created with MrDocs