Iterators and specialized iterators| OOP in C++


Iterators

Iterator is an object, like a pointer, that points to an element in a container one can increment/decrement iterators.
Iterator connects algorithm with containers
Type of Container
1. Sequence Container
-vector
-list
-deque
2. Associative Container
-set
-multiset
-map
-multimap
3. Derived Container
-stack
-queue
-priority queue
Types of Iterators
Iterators1
Operations supported by Iterators
iterator2

Custom Search

%d bloggers like this: