which of the following slt template class is a container adapator class
Answers
Answered by
0
Answer:
An STL container is a collection of objects of the same type (the elements).
Container owns the elements.
Creation and destruction is controlled by the container.
Two basic types of containers:
Sequences
User controls the order of elements.
vector, list, deque
Associative containers
The container controls the position of elements within it.
Elements can be accessed using a key.
set, multiset, map, multimap
Answered by
0
Set template class is a container adaptor class
Explanation:
- An STL container is a collection of objects of the same type (the elements).
- The Container owns the elements.
- Creation and destruction are controlled by the container.
- Two basic types of containers:
- Sequences
- The User controls the order of elements.
- vector, list, deque.
- Associative containers.
- The container controls the position of elements within it.
- Elements can be accessed using a key.
- set, multiset, map, multimap.
Similar questions