[Bug c++/86256] Lambda will not add ref count for class intelligent pointer member when capture 'this' or & as argument
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 24 06:16:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86256
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
But this is true for any lambda that captured 'this' or captures by reference.
It doesn't make sense to warn for every use of that language feature, just in
case it's used incorrectly.
More information about the Gcc-bugs
mailing list