January 2018
Intermediate to advanced
374 pages
9h 53m
English
Before going further into STL algorithms, we are going to take a deeper look at iterators in C++, as they form the basis of STL algorithms. Note that the iterator concept is not at all a C++ exclusive concept, rather it exists in most programming languages. What differentiates the C++ implementation of the iterator concept from other programming languages is that C++ mimics the syntax of raw memory pointers.
A simplified basic iterator is an object which represent a position in a sequence and therefore basically incorporate the following functionality: