public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/115231] New: [C++20] [Modules] deduction guides reachability
@ 2024-05-26 10:37 huangqinjin at gmail dot com
  2024-05-26 10:42 ` [Bug c++/115231] " pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: huangqinjin at gmail dot com @ 2024-05-26 10:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115231
           Summary: [C++20] [Modules] deduction guides reachability
           Product: gcc
           Version: 14.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: huangqinjin at gmail dot com
  Target Milestone: ---

Refer to https://eel.is/c++draft/temp.deduct.guide#nt:deduction-guide,

> Deduction guides are not found by name lookup.
> Instead, when performing class template argument deduction,
> all reachable deduction guides declared for the class template are considered.

GCC cannot find the deduction guides that are not exported, while both Clang
and MSVC can.

https://godbolt.org/z/9rW3TTMMM

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

end of thread, other threads:[~2024-06-15 14:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-26 10:37 [Bug c++/115231] New: [C++20] [Modules] deduction guides reachability huangqinjin at gmail dot com
2024-05-26 10:42 ` [Bug c++/115231] " pinskia at gcc dot gnu.org
2024-05-26 10:48 ` huangqinjin at gmail dot com
2024-05-26 10:48 ` huangqinjin at gmail dot com
2024-05-26 10:49 ` huangqinjin at gmail dot com
2024-05-26 10:59 ` pinskia at gcc dot gnu.org
2024-05-26 14:33 ` huangqinjin at gmail dot com
2024-06-15 14:16 ` nshead 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).