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.
