[Bug c++/88075] [feature-request] allow "concept" instead of "concept bool" with -fconcepts
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 15 03:44:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88075
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
Blocks| |67491
--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Hannes Hauswedell from comment #6)
> (In reply to Jason Merrill from comment #5)
> > Author: jason
> > Date: Tue Nov 5 11:46:54 2019
> > New Revision: 277825
> >
> > URL: https://gcc.gnu.org/viewcvs?rev=277825&root=gcc&view=rev
> > Log:
> > PR c++/88075 - Don't require 'bool' in a concept definition.
> >
> > * parser.c (cp_parser_decl_specifier_seq): Support C++20
> > concept-definition syntax without 'bool'.
> >
> > Added:
> > branches/gcc-8-branch/gcc/testsuite/g++.dg/concepts/no-bool1.C
> > Modified:
> > branches/gcc-8-branch/gcc/cp/ChangeLog
> > branches/gcc-8-branch/gcc/cp/parser.c
>
>
> Thanks a lot for this change!
>
> Does this work with -fconcepts and if yes can we also get it for GCC7?
> Thanks a lot!
Well, the branch for GCC7 just closed, so, looks like not...
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
[Bug 67491] [meta-bug] concepts issues
More information about the Gcc-bugs
mailing list