Is there a priority_queue adaptor that works with boost pointer containers?
Asked
Active
Viewed 263 times
1 Answers
1
A priority queue is not really a new container. You should be able to "create" it based on a ptr_vector
using a typedef:
typedef priority_queue<myclass, ptr_vector<myclass> > ptr_priority_queue;

hannes
- 966
- 9
- 13