https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367
David Ledger <davidledger at live dot com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davidledger at live dot com.au --- Comment #2 from David Ledger <davidledger at live dot com.au> --- that may be expected, as std::string frees on destruction, where as an empty capture list doesn't.