This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42737] [c++0x] error returning a lambda function
- From: "jwakely dot gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2010 12:30:43 -0000
- Subject: [Bug c++/42737] [c++0x] error returning a lambda function
- References: <bug-42737-18668@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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