Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Iterator range?

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

Baca dalam konteks →