
2 Jul
2012
2 Jul
'12
7:05 p.m.
On Mon, Jul 2, 2012 at 12:51 PM,
What do I need to do in the second test to get it to compile? Can I tell if_ that its return type is not void?
Sadly no -- this was a point of confusion for me too. The correct way to do this is with if_else http://www.boost.org/doc/libs/1_50_0/libs/spirit/phoenix/doc/html/phoenix/co.... HTH, Nate