This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84421] [8 Regression] Lambda parameter is no longer a core constant expressions
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Feb 2018 15:38:18 +0000
- Subject: [Bug c++/84421] [8 Regression] Lambda parameter is no longer a core constant expressions
- Auto-submitted: auto-generated
- References: <bug-84421-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84421
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> Is that really a rejects-valid
Yes, bool(v) is a constant-expression.