This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49554] [4.7 Regression] [C++0x] lambda capture causes "cannot call member function ... without object"


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-27 23:26:44 UTC ---
also, if 'b' is initialized like this it works:
    Base_iterator b = this->begin();


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]