[Bug c++/15674] [3.3/3.4/3.5 Regression] [DR214] template argument binding differs between member and static fumctions

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 28 22:33:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list