http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46046
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2010.10.16 15:41:50 Ever Confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-16 15:41:50 UTC --- I think SFINAE doesn't apply here, because there is no template argument deduction, so the code is not valid. It shouldn't ICE though