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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is just ADL (Argument-dependent lookup) and therefor very much valid C++
code.
ADL has been a standard part of C++ since the first standard even.

See https://en.cppreference.com/w/cpp/language/adl for more examples of ADL

Reply via email to