[Bug libstdc++/125565] std::enable_shared_from_this::_M_weak_this not reset before calling deleter
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 08:45:58 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125565
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Tomasz Kamiński from comment #1)
> This is why all standard libraries agree on current behavior:
> https://godbolt.org/z/9nefhhEjv.
And boost::enable_shared_from_this as well.
More information about the Gcc-bugs
mailing list