
1 Jun
2011
1 Jun
'11
5:27 p.m.
one could use a `container' argument similar to the std::priority_queue ... but i somehow like the way to pass the allocator as template argument (mainly for consistency among the different heaps) ... but of course, it would be possible to catch this at compile time ... so that either a container or an allocator is passed, but not both ...
Passing an allocator is not near as powerful a feature as passing the container.
nope ... but i would like to ensure the API consistency between node-based heaps and container-adaptors cheers, tim