title: C++ Create fixed size queue
body: <p>In <strong>C++</strong>, how do you create a simple <strong>fixed size queue</strong>?</p>
  <p>I have done it multiple times in Java and Python but am looking for a C++ based way of doing so.</p>
  <p>I need a simple FIFO queue with only 2 elements in order to use the <code>push</code> and <code>pop</code> utilities: I am already aware of the fact that I could implement my own class to perform this kind of restriction but my question aims to know if there exist any already available solution to this.</p>
  <p>Or is it maybe possible to accomplish the same task with an array? That would work as well.</p>