PR libstdc++/80229 * include/bits/shared_ptr_base.h (__shared_ptr::_M_enable_shared_from_this_with): Change parameters to non-const and then use remove_cv to get unqualified type. * testsuite/20_util/enable_shared_from_this/members/const.cc: Don't cast away constness on object created const. * testsuite/20_util/shared_ptr/cons/80229.cc: New test. From-SVN: r246520
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
assign | Loading commit data... | |
atomic | Loading commit data... | |
casts | Loading commit data... | |
comparison | Loading commit data... | |
cons | Loading commit data... | |
creation | Loading commit data... | |
dest | Loading commit data... | |
hash | Loading commit data... | |
misc | Loading commit data... | |
modifiers | Loading commit data... | |
observers | Loading commit data... | |
requirements | Loading commit data... | |
thread | Loading commit data... |