
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

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.
TIA, Markus
Regards, Ion

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
participants (3)
-
Ion Gaztañaga
-
Markus Schöpflin
-
Markus Schöpflin