[Bug c++/42737] [c++0x] error returning a lambda function

jwakely dot gcc at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 14 12:31:00 GMT 2010



------- Comment #6 from jwakely dot gcc at gmail dot com  2010-01-14 12:30 -------
(In reply to comment #5)
> Does it matter that lambdas with no-capture are special, per n2989? (also see
> http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01690.html)
> 

ah yes, that would make it valid!  I wasn't aware of that change, sorry


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42737



More information about the Gcc-bugs mailing list