This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9437: template function parameter `T*' shouldn't match pointers to members
- From: nathan at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, martin at xemacs dot org, nathan at gcc dot gnu dot org
- Date: 29 Jan 2003 11:38:50 -0000
- Subject: Re: c++/9437: template function parameter `T*' shouldn't match pointers to members
- Reply-to: nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, martin at xemacs dot org, nathan at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: template function parameter `T*' shouldn't match pointers to members
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Wed Jan 29 11:38:49 2003
State-Changed-Why:
mainline and 3.3 branch
2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9437
* pt.c (unify): Don't unify '*T' with 'U C::*'.
2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9437
* g++.dg/template/unify4.C: New test.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9437