------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-16 00:49 ------- (In reply to comment #2) > how do you explain that the testcase compiles just fine if you remove the > namespace?
Because Agrument Dependent Lookup (koenig lookup) happens even though there is an overloaded set. This is also referenced in that PR. If you move qHash of khtml::Font::ScalKey into the khtml, it will work also because ADL is happening. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26311