https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629
--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> --- With GCC 10 the same object gets used in the lambda and outside it: 0x7f52ed99f090 0x7f52ed99f090
redi at gcc dot gnu.org via Gcc-bugs Fri, 10 Dec 2021 07:14:39 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629
--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> --- With GCC 10 the same object gets used in the lambda and outside it: 0x7f52ed99f090 0x7f52ed99f090