https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81998

Andrew Schepler <aschepler at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Schepler <aschepler at gmail dot com> ---
Sorry, I was looking at Draft N3797.  Apparently the resolution to Core Issue
1760 - http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1760 was
included in the real C++14.  This change struck out the sentence I quoted, and
added:

"An init-capture behaves as if it declares and explicitly captures a variable
declaration of the form 'auto init-capture ;' whose declarative region is the
lambda-expression's compound-statement, except that..."

The wording in the latest C++2a draft remains the same.

So this is probably not a bug.

Reply via email to