Function CSTL_vector_iterator_index

Source
pub unsafe extern "C" fn CSTL_vector_iterator_index(
    iterator: CSTL_VectorIter,
    n: isize,
) -> *mut c_void
Expand description

Dereferences the iterator at an element offset n.

Returns a pointer to the element.

iterator must be dereferenceable at its new position, not value initialized and pointing to a valid element inside the vector.

It is not valid to mutate an element derived from an iterator obtained with a const vector pointer.