An iterator over a structure is a value that designates a position in it, with an operation that tells whether elements remain and an operation that returns the next element and advances. A loop written with an iterator works on every structure that provides one.
Computer Science · Begrippenlijst