$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [GSoC][Phoenix3] Regarding mutability of arguments passed to phoenix expressions
From: Alexey Tkachenko (alek.tkachenko_at_[hidden])
Date: 2010-04-29 03:38:55
> 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.