This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15674] template argument binding differs between member and static fumctions
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2004 08:51:21 -0000
- Subject: [Bug c++/15674] template argument binding differs between member and static fumctions
- References: <20040527071518.15674.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-05-27 08:51 -------
I'm unsure about this kind of deduction. EDG thinks S(a) is ill-formed (two
possible overloads), and bind the other three calls to the T* deduction. Which,
btw, is what GCC 2.95.3 used to do.
Nathan, can you possibly have a quick look and tell us what the standard says
about this? I tried to look it up but we all know that deduction rules are
arcane.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |nathan at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15674