10 Feb
2009
10 Feb
'09
2:13 a.m.
Paul Heil wrote:
While expanding my horizons to include functional programming, I've run in to a problem with boost::phoneix lambda functions. I'm trying to use a for_each() command with an overloaded<< operator, but I can't seem to get they types right, and I get a compile error: test.cpp(147) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'const boost::phoenix::actor<Eval>' (or there is no acceptable conversion)
Did you include operator.hpp? Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net