It would be nice for gdb users if any variables captured by a lambda were described in the debuginfo for the inner function. See http://sourceware.org/bugzilla/show_bug.cgi?id=11547
-- Summary: lambda debug info does not describe captured variables Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tromey at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43912