
19 Mar
2010
19 Mar
'10
5:50 p.m.
Eric Niebler wrote:
All the temporary expression objects Proto creates are const-qualified rvalues so they can be passed to transforms. Well, *almost* all, the exception being functional::make_expr and functional::unpack_expr. That's an oversight. I just fixed it on trunk.
To work around your problem, you need to change line 109 of not_working.cpp to first save the result of unpack to a temporary and then pass that to rec. That's perfect Eric, everything work like a charm now :)
-- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35