http://gcc.gnu.org/bugzilla/show_bug.cgi?id=772

Ed Smith-Rowland <3dw4rd at verizon dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |3dw4rd at verizon dot net

--- Comment #14 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2011-11-23 
18:57:25 UTC ---
I wonder what the relationship of these expression statements are to lambdas.

Is ({int _a = (a), _b = (b); _a > _b ? _a : _b; })
equivalent to
[](){int _a = (a), _b = (b); _a > _b ? _a : return _b; }}

Can expression statements change enclosing scope variables?  It seems like they
could.  The lambda may need to be mutable.

Maybe these could route to the lambda code.

Just an idle thought.

Reply via email to