
On 01/04/2012 05:05 AM, Huang Huan wrote:
Yes, Boost.Phoenix do a lot forward in unname function. Unfortunately the presented features are not found in it.
2012/1/4 Mathias Gaunard<mathias.gaunard@ens-lyon.org>
return is hard to implement, since each expression is building its own expression, so you need to forward it along the whole chain. Exceptions could also be used, but it's not very nice.
Sorry, I meant "since each expression is building its own function" here.
return is the most usefull part of function. I'm working on the implement, it's approved work with no exception for return. The architect is defferent from the lambda, I think the phoenix is also . The final functional call is wrapped, and create a heap/stack like workspace. It will support restore for yielding calls. and yielding& local var are also involved in the return architect.
Does it call destructors correctly?