title: How to determine container type based on user input
body: <p>For one of my school projects, I'm implementing a class which holds two separate containers, which are supposed to be stacks or queues based on which container the user specifies. My question is, is it possible to create two private member containers - let's call them container1 and container2 - and specify whether each is respectively a stack or a queue? (at construction)</p>