[Bug c++/42877] [C++0x] ICE when checking the type of a lambda

piotr dot wyderski at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 26 20:10:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list