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

Johel Ernesto Guerrero Peña <johelegp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://godbolt.org/z/E64Pb
                   |                            |b
            Summary|No ADL in call with         |No ADL in dependent call
                   |explicit template arguments |with explicit template
                   |within templated hidden     |arguments
                   |friend                      |

--- Comment #4 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
It actually fails for dependent calls. See https://godbolt.org/z/E64Pbb.
```C++
namespace ns {
  template <class T> struct X { };
  template <class T> constexpr void adl(X<T>) { }
}
template <class V> void f() { adl<int>(ns::X<V>{}); }
void g() { f<int>(); }
```

Reply via email to