[Bug c++/64791] Generic lambda fails to implicitly capture `const` variable
ville.voutilainen at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jan 27 12:49:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
Ville Voutilainen <ville.voutilainen at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-01-27
CC| |paolo.carlini at oracle dot com,
| |ville.voutilainen at gmail dot com
Known to work| |5.0
Ever confirmed|0 |1
Known to fail| |4.8.2, 4.9.1
--- Comment #3 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Trunk accepts the code and prints 2, 3 like clang does. So unless there's a
need for an additional testcase or a backport, this looks like a candidate for
closing.
More information about the Gcc-bugs
mailing list