[Bug c++/61216] wrong name lookup for operator functions with using-declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61216 rylai palpatin91 at mail dot ru changed: What|Removed |Added Severity|trivial |minor
[Bug c++/61216] wrong name lookup for operator functions with using-declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61216 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC||daniel.kruegler@googlemail. ||com --- Comment #1 from Daniel Krügler daniel.kruegler at googlemail dot com --- Your comparison doesn't make sense, because in your second example there is no ADL involved. Change it to class C {}; namespace N { void f(C) {} } void f(C) {} int main() { using N::f; C c; f(c); } and you will notice the same ambiguity.
[Bug c++/61216] wrong name lookup for operator functions with using-declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61216 --- Comment #2 from rylai palpatin91 at mail dot ru --- (In reply to Daniel Krügler from comment #1) Thank you to point it out.
[Bug c++/61216] wrong name lookup for operator functions with using-declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61216 rylai palpatin91 at mail dot ru changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from rylai palpatin91 at mail dot ru --- Closed.