
29 Apr
2010
29 Apr
'10
7:38 a.m.
Example:
int i( 1 ); ( ++phoenix::arg_names::arg1 )( i );
The result of ++phoenix::arg_names::arg1 will be 2, i will have the value 2 after the expression is evaluated.
Interesting, what will happen in this case: ( ++phoenix::arg_names::arg1 )( (const int&)10 ); Regards, Alexey Tkachenko.