title: Remove an array from a setlist if count above x
body: <p>I am currently using an <code>std::set&lt;uintptr_t&gt; list</code> to store unique pointers in it. This list gets bigger with the time and when this list reaches x amount of entries it should delete the first entry, the other entries should move down one and make room for a new entry.</p>
  <p>For example:</p>
  <pre><code>if (list.count &gt;= 20)
  {
      list.remove[0]; //remove the first entry from the list?
  }
  </code></pre>
  <p>I know this code doesn't work but just for the logic so you know what I mean. Also the first entry would be empty then, would it be possible to move all other entries one down so the [0] entry isn't empty anymore?</p>