[Bug c++/71125] [concepts] Spurious 'invalid reference to function concept error' issued when overloads are not all declared with the concept specifier
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 14 17:07:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71125
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2019-10-14
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Is this valid in C++20?
I think G++ is correct to reject it due to redeclaring C1, C2 etc. as a
different kind of symbol.
More information about the Gcc-bugs
mailing list