title: How to create a Bitset Array Queue?
body: <p>I am reading in 14 byte messages from a device and I store them in an array of bitsets...</p>
  
  <pre><code>bitset&lt;8&gt; currentMessage[14];
  </code></pre>
  
  <p>I want to create a queue of these messages. (Ideally I want the last 10 messages but I think that might be a whole other question? <a href="https://stackoverflow.com/questions/1273026/limit-size-of-queuet-in-c">limit size of Queue&lt;T&gt; in C++</a>.)</p>
  
  <p>How can I create this queue?</p>
  
  <p>I tried...</p>
  
  <pre><code>std::queue&lt;bitset&gt; buttonQueue;
  </code></pre>
  
  <p>but I received the following errors:</p>
  
  <ul>
  <li>error C2955: 'std::bitset' : use of class template requires template argument list</li>
  <li>error C2133: 'buttonQueue' : unknown size</li>
  <li>error C2512: 'std::queue' : no appropriate default constructor available</li>
  </ul>
  
  <p>(N.B. I noticed Boost's Circular Buffer, could this be a more suited alternative for what I'm trying to do?)</p>
  
  <p><strong>I'm pretty new to c++, can anyone help me out?</strong></p>