This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56039] ICE in iterative_hash_template_arg, at cp/pt.c:1606
- 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: Sun, 20 Jan 2013 12:27:20 +0000
- Subject: [Bug c++/56039] ICE in iterative_hash_template_arg, at cp/pt.c:1606
- Auto-submitted: auto-generated
- References: <bug-56039-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56039
--- Comment #6 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2013-01-20 12:27:20 UTC ---
(In reply to comment #0)
> The code uses C++11 lambda expressions in a constant expression context for
> the SFINAE. As far as I can tell, SFINAE should apply since the lambda occurs
> lexically within the immediate context for the substitution.
I wonder why you think this would belong to the "immediate context". Actually
it seems to me as if the instantiation of the body of a lambda expression is
similarly non-immediate as the instantiation of a class template.