https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10437
Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |richard-gccbugzilla@metafoo | |.co.uk --- Comment #11 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> --- (In reply to Nathan Sidwell from comment #9) > Now the second point. This a case of SFINAE failure, no diagnostic should > be issued. I disagree. The failure is not in the immediate context of the substitution, so this is a hard error. GCC seems to be doing the right thing in all cases here.