public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/106589] New: visit<void> rejects lambdas that do not return void
@ 2022-08-12  3:27 hewillk at gmail dot com
  2022-08-12  3:34 ` [Bug libstdc++/106589] " hewillk at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hewillk at gmail dot com @ 2022-08-12  3:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106589
           Summary: visit<void> rejects lambdas that do not return void
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

#include <variant>

int main() {
  std::visit<void>([]{ return 0; });
}

https://godbolt.org/z/G3Penchbx

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

end of thread, other threads:[~2022-08-24 13:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12  3:27 [Bug libstdc++/106589] New: visit<void> rejects lambdas that do not return void hewillk at gmail dot com
2022-08-12  3:34 ` [Bug libstdc++/106589] " hewillk at gmail dot com
2022-08-12  6:04 ` [Bug libstdc++/106589] [12/13 Regression] " pinskia at gcc dot gnu.org
2022-08-12  6:09 ` pinskia at gcc dot gnu.org
2022-08-12 22:00 ` redi at gcc dot gnu.org
2022-08-24 13:01 ` [Bug libstdc++/106589] [12 " cvs-commit at gcc dot gnu.org
2022-08-24 13:02 ` redi 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).