Boost logo

Boost :

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


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->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, gregod at, cpdaniel at, john at