public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99850] New: [P1102R2] reject valid lambda syntax in C++23
@ 2021-03-31 16:39 hewillk at gmail dot com
  2021-03-31 16:50 ` [Bug c++/99850] " mpolacek at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hewillk at gmail dot com @ 2021-03-31 16:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99850
           Summary: [P1102R2] reject valid lambda syntax in C++23
           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: ---

https://godbolt.org/z/x5E5cGPTb

auto l = []<auto> requires true -> void {};

gcc incorrectly rejects this valid lambda, you can see more details in
https://stackoverflow.com/questions/66833334/the-validity-of-lambda-expression-with-omitted-parameter-list-in-c23

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

end of thread, other threads:[~2021-04-16  7:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31 16:39 [Bug c++/99850] New: [P1102R2] reject valid lambda syntax in C++23 hewillk at gmail dot com
2021-03-31 16:50 ` [Bug c++/99850] " mpolacek at gcc dot gnu.org
2021-03-31 18:01 ` mpolacek at gcc dot gnu.org
2021-03-31 19:43 ` jakub at gcc dot gnu.org
2021-03-31 19:54 ` jakub at gcc dot gnu.org
2021-04-01  6:58 ` hewillk at gmail dot com
2021-04-14 13:03 ` jakub at gcc dot gnu.org
2021-04-16  7:35 ` cvs-commit at gcc dot gnu.org
2021-04-16  7:36 ` jakub 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).