This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/57460] [C++11] Sfinae doesn't respect dependent context


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]