[Bug c++/96185] Enhancement: Please add a builtin to count bindings in [dcl.struct.bind]
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 14 15:22:38 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96185
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #3)
> Not as a DR, absolutely not. There is no defect.
>
> It could be supported in non-strict modes as an extension, if the syntax
> doesn't conflict with anything a valid program would use.
Yeah, usually it is something with pedwarn, i.e. accepted in
-std=c++2b/-std=gnu++2b mocdx, a warning in -std=gnu++20/-std=gnu++17 etc. and
an error with -std=c++20/-std=c++17.
More information about the Gcc-bugs
mailing list