Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Iterator range?

Definition 5.2 University Computer Science — Year 2 · Capítulo 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.

Leer en el capítulo →