Boost logo

Boost Users :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-07-05 17:14:51


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


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