|
Boost Users : |
From: Pete Hodgson (spam_at_[hidden])
Date: 2006-07-05 17:27:11
Sebastian Redl wrote:
> Pete Hodgson wrote:
>
>> using boost::lambda::_1;
>>
>> tEggsVector::const_iterator it = std::find_if(
>> basketOfEggs.begin(),
>> basketOfEggs.end(),
>> boost::bind( &CEgg::IsHatched, _1 ) );
>>
>>
>>
> You're using lambda placeholders for the bind library binders. You need
> to use the bind library placeholders or the lambda library binders. In
> other words, you must not mix the two.
> It's rather unpleasant, but at the moment they are not compatible.
>
> Sebastian Redl
Ah, I didn't realize that there were two different _1 implementations.
Thanks for the help guys.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net