[Bug libstdc++/80229] [7 Regression] shared_ptr<T> gives an error when is_function<T> is true
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 28 00:23:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list