On Friday 22 February 2002 12:13 pm, Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
> 
> | There 
> | are a couple of places where I have needed to re-evalute end() when 
deleting 
> | iterators from lists
> 
> I belive that if possible those cases should be handled by a:
> 
>   iterator it = remove_if(beg, end, functor);
>   list.erase(it, end);
> 
> thingie. Perhaps not as efficient, but it very clear wht happens.

My turn to smile. I've just got used to "find" and now you want me to learn 
about "remove" too? I'm going to end up writing decent code if you keep up 
this badgering!

Angus

Reply via email to