public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99539] New: Varargs are allowed in requires expression
@ 2021-03-11 4:19 hewillk at gmail dot com
2021-12-23 21:41 ` [Bug c++/99539] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: hewillk at gmail dot com @ 2021-03-11 4:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99539
Bug ID: 99539
Summary: Varargs are allowed in requires expression
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hewillk at gmail dot com
Target Milestone: ---
gcc-trunk accepts the following code:
template<typename T>
concept C = requires(T t, ...) { // error: terminates with an ellipsis
t;
};
(goldbot: https://godbolt.org/z/qbz7b9)
but according to [expr.prim#req.general-4]: "The parameter-declaration-clause
of a requirement-parameter-list shall not terminate with an ellipsis."
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/99539] Varargs are allowed in requires expression
2021-03-11 4:19 [Bug c++/99539] New: Varargs are allowed in requires expression hewillk at gmail dot com
@ 2021-12-23 21:41 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-23 21:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99539
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2021-12-23
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-23 21:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 4:19 [Bug c++/99539] New: Varargs are allowed in requires expression hewillk at gmail dot com
2021-12-23 21:41 ` [Bug c++/99539] " pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).