
23 Aug
2007
23 Aug
'07
1:13 p.m.
Cory Nelson wrote:
Hi Ion,
Given that iterator_to turns a reference into an iterator, shouldn't this be to_iterator?
Well, iterator_to was chosen in the review as the most convenient name since means "return an iterator to a value".
Also with the clear/erase_and_dispose functions could there be a default disposer that calls delete?
Yes, I can provide one if that's considered useful. Something like this? list.erase_and_dispose(delete_disposer());
Thanks! -- Cory Nelson
Regards, Ion