This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/2922] [DR 197] two-stage lookup for unqualified function calls with type-dependent arguments


------- Additional Comments From sebor at roguewave dot com  2005-07-21 20:33 -------
(In reply to comment #13)
...
> 	* g++.dg/lookup/two-stage2.C: New.

FWIW, the following comment in this patch is wrong:

+  g(2);    // f(char) followed by f(int)
                       ^^^^^^^^^^^^^^^^^^
The call to g<int>(2) should cause 2 calls to f(char).

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2922


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]