[Bug c++/4672] [3.3/3.4 Regression] [DR 214] Template parameter deduction fails for overloaded template functions.
pinskia@physics.uc.edu
gcc-bugzilla@gcc.gnu.org
Mon Jun 2 16:40:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4672
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[DR 214] Template parameter |[3.3/3.4 Regression] [DR
|deduction fails for |214] Template parameter
|overloaded template |deduction fails for
|functions. |overloaded template
| |functions.
------- Additional Comments From pinskia@physics.uc.edu 2003-06-02 16:40 -------
still exists on the mainline (20030529) and 3.3.1 (20030526):
pr4672.cc: In member function `void A::foo() const':
pr4672.cc:8: error: call of overloaded `Foo(const A* const)' is ambiguous
pr4672.cc:1: note: candidates are: void Foo(U&) [with T = int, U = const A*
const]
pr4672.cc:2: note: void Foo(U*) [with T = int, U = const A]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Gcc-bugs
mailing list