Why use std::stack or std::queue?
<p>Why would I use a <code>std::stack</code> or a <code>std::queue</code> rather than a <code>std::vector</code> or a <code>std::deque</code>?</p>

<p>Since the container adapters are merely wrappers around the standard containers, why use them at all?</p>