[Bug c++/26311] [4.1/4.2 Regression] ambiguous overload errors

2006-02-15 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-02-16 00:57 --- Please read the Defect report which takes about this case: http://www.open-std.org/jtc1/sc22/wg21/prot/14882fdis/cwg_defects.html#197 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26311

[Bug c++/26311] [4.1/4.2 Regression] ambiguous overload errors

2006-02-15 Thread pinskia at gcc dot gnu dot org
--- 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. Th

[Bug c++/26311] [4.1/4.2 Regression] ambiguous overload errors

2006-02-15 Thread mueller at gcc dot gnu dot org
--- Comment #2 from mueller at gcc dot gnu dot org 2006-02-16 00:45 --- how do you explain that the testcase compiles just fine if you remove the namespace? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26311

[Bug c++/26311] [4.1/4.2 Regression] ambiguous overload errors

2006-02-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-16 00:33 --- The issue here (in the source) is that the overloaded of "qHash(key);" is only the qHash functions above that call so it does not see the template below that call which is the function you would like to call. Th

[Bug c++/26311] [4.1/4.2 Regression] ambiguous overload errors

2006-02-15 Thread mueller at gcc dot gnu dot org
-- mueller at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |critical Keywords||rejects-vali