------- Comment #15 from jason at gcc dot gnu dot org  2009-03-03 19:22 -------
DR 214 does address this case; it says that the testcase in the original
submission is ill-formed, as the two functions are both at least as specialized
as the other. [temp.deduct.partial] says that for partial ordering, we strip
the reference and any cv-qualifiers from the parameter types, so we are
comparing T and T.

EDG now gives the same error as G++.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15011

Reply via email to