https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80229
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2017-03-28 Known to work| |6.3.1 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The _M_enable_shared_from_this parameters are only const to save needing to use remove_const<_Yp>::type to get the non-const type, so not needed. I have a patch.