halcheck 1.0
Loading...
Searching...
No Matches

◆ operator-

template<typename R >
difference_type operator- ( const index_iterator< R > & lhs,
const index_iterator< R > & rhs )
friend

Computes the distance between two iterators.

Parameters
lhs,rhsThe iterators to compare.
Returns
lhs.index() - rhs.index()