[Bug c++/46394] [C++0X] [4.6 Regression] no matching function with default template parameter
dodji at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 4 19:53:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46394
Dodji Seketeli <dodji at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on|35722 |
--- Comment #5 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-02-04 19:53:24 UTC ---
Actually my previous analysis wasn't quite right. Rather, the
substitution of the fixed up U into std::remove_reference<U>::type...,
fails. It fails because we fail to compare the fixed up U with the
non-fixed up U. And after that the sky falls.
So this has nothing to do with
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35722, luckily. Pheew.
A candidate patch was sent to to
http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00295.html along with a
smaller reproducer.
More information about the Gcc-bugs
mailing list