Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Iterator range?

Definition 5.2 University Computer Science — Year 2 · Hoofdstuk 5 — The Standard Library: Containers, Iterators and Algorithms

An iterator range is a pair of iterators first and last of one collection, designating the elements from first up to, but not including, last: the half-open range [first,last)[\texttt{first}, \texttt{last}). It is empty when first == last. c.begin() designates the first element of a container c and c.end() the position just after the last one, which may be compared with but not read.

Lees in het hoofdstuk →