
Thanks. I tried that, but that did not help.
Thank you.
--- Sebastian Redl
Meryl Silverburgh wrote:
Need help in understanding boost lambda compile error:
I have this line of code: where grlpVector is vector
for_each(grlpVector.begin(), grlpVector.end(),
boost::lambda::bind(&GroupResultListProcessorExecuter::do_process,
this, *_1));
This looks a bit like a bug in Lambda to me - it tries to instantiate a boost::tuple with a member of type GroupResultListProcessor, which fails because this class is abstract.
As a workaround, try this:
for_each(grlpVector.begin(), grlpVector.end(),
boost::lambda::bind(&GroupResultListProcessorExecuter::do_process,
this, boost::ref(*_1)));
I don't know if that will compile, though. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com