Skip to content
UPEEC

Iterators

Generalised pointers that connect containers and algorithms.

Easy
Comments 0

Categories: input, forward, bidirectional, random-access, contiguous. Modifying a container can invalidate iterators — e.g. vector::push_back may reallocate.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.