http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53157
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2012-04-29 Ever Confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-29 14:41:12 UTC --- (In reply to comment #0) > (1) for the call to f(&N); : error: lvalue required as unary ‘&’ operand This error is wrong, so confirmed. > (2) at the end of the lambda : error: expected ‘;’ before ‘}’ token This error is correct, the example is wrong. I've asked the C++ project editor to fix the working draft: https://github.com/cplusplus/draft/pull/12