title: How to iterate over a priority_queue?
body: <p>Can I traverse a standard <code>priority_queue</code> or standard <code>queue</code> in c++ with an iterator (like a <code>vector</code>)? I don't want to use pop because it cause my queue to be dequeued. </p>
  
  <p>Thanks for any help</p>