Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
123 / 187
Define derived container?
Answer:
The STL provides three derived containers namely:
Stack, queue and priority queue. These are known as Container adaptors.
These can be created for different sequence container and it does not support the Iterators and therefore we cannot use them for data manipulation.
However, they support two member functions pop() and push() fro implementing deleting and inserting operation.,
Asked In ::
Priyanka Singh
23 Feb, 2019 5:07 AM
The STL provides three derived containers namely:
Stack, queue and priority queue. These are known as Container adaptors.
These can be created for different sequence container and it does not support the Iterators and therefore we cannot use them for data manipulation.
However, they support two member functions pop() and push() fro implementing deleting and inserting operation.,
Stack, queue and priority queue. These are known as Container adaptors.
These can be created for different sequence container and it does not support the Iterators and therefore we cannot use them for data manipulation.
However, they support two member functions pop() and push() fro implementing deleting and inserting operation.,