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: An STL stack can be based on three main sequential containers: std::vector, std::deque, and std::list. If no container type is specified, the default type used is std::deque.