This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49554] [4.7 Regression] [C++0x] lambda capture causes "cannot call member function ... without object"
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Jun 2011 23:44:10 +0000
- Subject: [Bug c++/49554] [4.7 Regression] [C++0x] lambda capture causes "cannot call member function ... without object"
- Auto-submitted: auto-generated
- References: <bug-49554-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49554
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-27 23:44:05 UTC ---
No error for this version:
Base_iterator b;
b = Base::begin();
[b](int i) { return i; };