https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69774
Guille changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69774
TC changed:
What|Removed |Added
CC||rs2740 at gmail dot com
--- Comment #2 from TC ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69774
--- Comment #1 from Guille ---
Note that the problem persists if we pass by reference in the lambda, i.e.
using
"t = [&] { std::cerr << &a << " \n"; };"
instead of
"t = [this] { std::cerr << &a << " \n"; };".