This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57460] [C++11] Sfinae doesn't respect dependent context
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Oct 2014 20:52:35 +0000
- Subject: [Bug c++/57460] [C++11] Sfinae doesn't respect dependent context
- Auto-submitted: auto-generated
- References: <bug-57460-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57460
--- Comment #2 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> ---
(In reply to Jason Merrill from comment #1)
> But there is no T that would cause check<(EXPR,T())> to be valid, so no
> valid specialization can be generated for the template, so the program is
> ill-formed (no diagnostic required).
After rethinking about it, I agree.