Chapter 18: Problem 6
What types may the STL stack be based on? By default, what type is an STL stack based on?
Short Answer
Expert verified
Answer: The STL stack can be based on two types of containers: std::list and std::deque. The default type for the STL stack is std::deque.