Returns the distance between two iterators.

Synopsis

Declared in <prevector.h>

difference_type
operator‐(
    iterator a,
    iterator b);

Return Value

The number of elements between the two iterators.

Parameters

Name

Description

a

The left‐hand iterator.

b

The right‐hand iterator.

Created with MrDocs