Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2007-10-12 11:15:25


Hello,

in boost/intrusive/list.hpp there is the following method of list_impl:

template<class Iterator, class Disposer>
void dispose_and_assign(
   Disposer disposer, Iterator b, Iterator e)
{
   this->clear(disposer);
   this->insert(this->end(), b, e);
}

AFAICT, there is no clear() method taking a disposer as an argument.
Shouldn't this read clear_and_dispose()?

TIA, Markus


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