This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42877] [C++0x] ICE when checking the type of a lambda
- From: "piotr dot wyderski at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2010 20:09:54 -0000
- Subject: [Bug c++/42877] [C++0x] ICE when checking the type of a lambda
- References: <bug-42877-17090@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from piotr dot wyderski at gmail dot com 2010-01-26 20:09 -------
(In reply to comment #4)
> I assume the original version is also intended to work with non-empty captures,
> when operator() is non-static
Yes, that's the purpose of the first two specializations.
But that part works correctly, only the function ptr variant ICEs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42877