
5 Jul
2006
5 Jul
'06
9:27 p.m.
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.