This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/2922] [DR 197] two-stage lookup for unqualified function calls with type-dependent arguments
- From: "sebor at roguewave dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2005 20:33:14 -0000
- Subject: [Bug c++/2922] [DR 197] two-stage lookup for unqualified function calls with type-dependent arguments
- References: <20010524020601.2922.jens.maurer@gmx.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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