Thursday, September 18, 2008

What are the types of STL(Standard Template Library) containers?

STL Containers - What are the types of STL(Standard Template Library) containers? 
There are 3 types of STL containers: 

1. Adaptive containers like queue, stack 
2. Associative containers like set, map 
3. Sequence containers like vector, deque


Sequence containers:
vector Vector (class template)
deque Double ended queue (class template)
list List (class template)
Container adaptors:

stack LIFO stack (class template)
queue FIFO queue (class template)
priority_queue Priority queue (class template)
Associative containers:

set Set (class template)
multiset Multiple-key set (class template)
map Map (class template)
multimap Multiple-key map (class template)
bitset Bitset (class template)

No comments:

Post a Comment

Thanks to given comments.......

My Blog List