This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15674] [3.3/3.4/3.5 Regression] [DR214] template argument binding differs between member and static fumctions
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 May 2004 11:57:51 -0000
- Subject: [Bug c++/15674] [3.3/3.4/3.5 Regression] [DR214] 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 nathan at gcc dot gnu dot org 2004-05-28 11:57 -------
The member case is not a regression, but it is still _wrong_.
The array call should either be ambigous if we implement DR214 as it stands,
otherwise it should select the array specialization, if we allow the
array/pointer decay during partial ordering.
The non-member case is not a regression, because the 2.95 behaviour
was wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15674