How to iterate on boost::mutable_queue
Posted
by Tristram Gräbener
on Stack Overflow
See other posts from Stack Overflow
or by Tristram Gräbener
Published on 2010-03-15T17:52:59Z
Indexed on
2010/03/15
18:09 UTC
Read the original article
Hit count: 219
Hello,
I need a priority queue where I can increase or decrease the priority key. So boost::mutable_queue seemed perfect despite the lack of documentation.
The problem is that I need to iterate at some point over all the elements in the queue. How can I do that?
Or is there an othe data structure that would work (preferably in boost)?
© Stack Overflow or respective owner