May 2012
Intermediate to advanced
679 pages
16h 56m
English
Just as array is referenced with index, a container class defines a specific class object called iterator. It is something like an index or a pointer. It helps us in referring elements of a different container class with uniform interface. If the container is empty, iterator may show us that too!
Depending the type and nature of container, iterator will have different access-related properties. Some of them are listed below.
Experts recommend that one should study iterators seriously, as they are fundamental to everything else in standard template library.
Read now
Unlock full access