-
re PR libstdc++/58839 (dereferencing void* in shared_ptr(unique_ptr&& u) constructor) · c8c0f557
PR libstdc++/58839 * include/bits/shared_ptr_base.h (__shared_ptr<T>::__shared_ptr(unique_ptr<U,D>&&)): Only use addressof when unique_ptr<U,D>::pointer is not a built-in pointer type. * testsuite/20_util/shared_ptr/cons/58839.cc: New. * testsuite/20_util/enable_shared_from_this/members/assign.cc: New. * testsuite/20_util/enable_shared_from_this/members/unique_ptr.cc: New. From-SVN: r204184
Jonathan Wakely committed
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
cons | Loading commit data... | |
members | Loading commit data... | |
requirements | Loading commit data... |