title: C++ Vector/list of priority queues?
body: <p>Why wouldn't C++ allow something like that ?</p>
  
  <p>I need to have multiple priority queues, the number of which would be determined at run time.</p>
  
  <p>This fails to compile</p>
  
  <p><code>std::vector&lt;std::priorityqueue&lt;Class A&gt;&gt;</code>.</p>
  
  <p>Is there a better approach ?</p>