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++/4672] [3.3/3.4 Regression] [DR 214] Template parameter deduction fails for overloaded template functions.


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.


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