This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TS status.
Section: 220.127.116.11 [fund.ts::memory.smartptr.shared.const] Status: TS Submitter: Jeffrey Yasskin Opened: 2014-06-16 Last modified: 2017-07-30
View all issues with TS status.
The proposed resolution for LWG 2399 doesn't apply cleanly to the Fundamentals TS, but the issue is still present.
This wording is relative to N4023 in regard to fundamental-ts changes.
In fundamental-ts, change [mods.util.smartptr.shared.const] p34 as indicated:
template <class Y, class D> shared_ptr(unique_ptr<Y, D>&& r);
-34--35- Effects: Equivalent to shared_ptr(r.release(), r.get_deleter()) when D is not a reference type, otherwise shared_ptr(r.release(), ref(r.get_deleter())). -36- Exception safety: If an exception is thrown, the constructor has no effect.
Requires: Y* shall becompatible with T*.