Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2007-10-12 12:31:29


Ion Gaztañaga schrieb:
> Markus Schöpflin escribió:
>> 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()?
>
> You are right. Fixed in CVS.

Great, thank you.

Seems like this method never got instantiated, so I would think it is
either unused or a test case is missing. What do you think?

Markus


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