public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/96193] New: No ADL for hidden friend in call with explicit template arguments
@ 2020-07-14  7:31 johelegp at gmail dot com
  2020-07-14  7:34 ` [Bug c++/96193] " johelegp at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: johelegp at gmail dot com @ 2020-07-14  7:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96193
           Summary: No ADL for hidden friend in call with explicit
                    template arguments
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: johelegp at gmail dot com
  Target Milestone: ---

See https://godbolt.org/z/qhEfGd.
```C++
struct B
{
    template <class U>
    friend void f(B)
    {
    }
};

void g()
{
    f<int>(B{});
}
```

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

end of thread, other threads:[~2021-08-04 11:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14  7:31 [Bug c++/96193] New: No ADL for hidden friend in call with explicit template arguments johelegp at gmail dot com
2020-07-14  7:34 ` [Bug c++/96193] " johelegp at gmail dot com
2020-07-14  9:06 ` redi at gcc dot gnu.org
2020-07-14 17:41 ` johelegp at gmail dot com
2020-07-25  3:26 ` [Bug c++/96193] No ADL in dependent " johelegp at gmail dot com
2021-08-04  6:05 ` pinskia at gcc dot gnu.org
2021-08-04 11:47 ` 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).