[Bug c++/15011] partial ordering failure?
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 3 19:22:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list