Angus Leeming <[EMAIL PROTECTED]> writes:

| 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)?

that's the problem...

-- 
        Lgb

Reply via email to