On Thursday 01 August 2002 2:58 pm, Lars Gullik Bjønnes wrote:
> | Incidentally, what's the preferred STL algorithm for
> |     for (; it != end; ++it) {
> |             (*it)->addPreview(ploader);
> |     }
>
> some variant of
>
>      for_each(begin, end, bind(&Type::addPreview, ref(ploader)));

Oh, clever! But why does this work on (*it) not (it)?

> The problem iis the (*it) ... had it been just a (it) then it would
> have been easy...

show me!

Could I get you to bite about the iterating over insets question too?
A


Reply via email to