deque vs. queue in C++
<p>Queue and Stack are a structures widely mentioned. However, in C++, for queue you can do it in two ways:</p>

<pre><code>#include &lt;queue&gt;
#include &lt;deque&gt;
</code></pre>

<p>but for stack you can only do it like this </p>

<pre><code>#include &lt;stack&gt;
</code></pre>

<p>My question is, what's the difference between queue and deque, why two structures proposed? For stack, any other structure could be included?</p>
