Function CSTL_vector_iterator_distance

Source
pub unsafe extern "C" fn CSTL_vector_iterator_distance(
    lhs: CSTL_VectorIter,
    rhs: CSTL_VectorIter,
) -> isize
Expand description

Subtracts two iterators and returns the distance measured in elements.

Returns the signed number of elements between two iterators.

They must belong to the same vector.