------- Comment #2 from peterbindels at gmail dot com  2008-06-10 21:32 -------
It's still warning free on 4.3.1 (except with all turned on, when ti complains
about unused parameters but nothing else).

As far as I can tell the second template matches the subset of the matches for
the first template where R would be an const ? &, with the second parameter
matching a different but still default constructed type. It's not ambiguous
because of the const at least.

I don't see why this would not work? Do you have an std reference for why this
would be ill-formed?


-- 

peterbindels at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peterbindels at gmail dot
                   |                            |com


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

Reply via email to