public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98717] New: [c++20] variadic concept can't take empty pack
@ 2021-01-18  0:14 ryan_greenblatt at brown dot edu
  2021-01-19  1:57 ` [Bug c++/98717] [10/11 Regression] " ppalka at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ryan_greenblatt at brown dot edu @ 2021-01-18  0:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98717

            Bug ID: 98717
           Summary: [c++20] variadic concept can't take empty pack
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ryan_greenblatt at brown dot edu
  Target Milestone: ---

```
template<typename... T>
concept True = true;

static_assert(True<>);
```
"error: invalid use concept ‘True<>’"

https://godbolt.org/z/ndfjzj

I'm suprised this hasn't been caught already... (assuming there isn't a
duplicate bug report I missed)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-12 21:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18  0:14 [Bug c++/98717] New: [c++20] variadic concept can't take empty pack ryan_greenblatt at brown dot edu
2021-01-19  1:57 ` [Bug c++/98717] [10/11 Regression] " ppalka at gcc dot gnu.org
2021-02-04 16:43 ` jason at gcc dot gnu.org
2021-02-04 20:43 ` cvs-commit at gcc dot gnu.org
2021-02-05  1:02 ` [Bug c++/98717] [10 " cvs-commit at gcc dot gnu.org
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2022-05-12 21:03 ` jason 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).