You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a function taking a unary boost::phonenix lazy statement (like you can see in the example), I have to make a falling distinctive to handle the do_ specially.
I can't see any benefit in this. In which this simply change would solve the problem, without changing the semantic:
do_
[
cout << arg1 << ", "
]
.while_(arg1--),
to
do_(arg1--)
[
cout << arg1 << ", "
]
Isn't the current implementation incosistent in the manner of my example?
The text was updated successfully, but these errors were encountered:
Any unary lazy statement in
boost::phoenix
can be used like:The only exception is the
do_
statement.When I have a function taking a unary
boost::phonenix
lazy statement (like you can see in the example), I have to make a falling distinctive to handle thedo_
specially.I can't see any benefit in this. In which this simply change would solve the problem, without changing the semantic:
do_ [ cout << arg1 << ", " ] .while_(arg1--),
to
do_(arg1--) [ cout << arg1 << ", " ]
Isn't the current implementation incosistent in the manner of my example?
The text was updated successfully, but these errors were encountered: