Boost logo

Boost :

Subject: Re: [boost] [review] Heaps
From: Tim Blechmann (tim_at_[hidden])
Date: 2011-06-01 13:27:54


> > 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




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk