This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++17 status.
Section: 18.104.22.168 [util.smartptr.getdeleter] Status: C++17 Submitter: Stephan T. Lavavej Opened: 2014-06-14 Last modified: 2017-07-30
View all other issues in [util.smartptr.getdeleter].
View all issues with C++17 status.
The Standard Library should consistently use addressof() to defend itself against overloaded operator&().While we're in the neighbourhood, we should editorially change 0 to nullptr.
Move to Ready
This wording is relative to N3936.
Change 22.214.171.124 [util.smartptr.getdeleter] as indicated:
template <class D, class T> get_deleter(const shared_ptr<T>& p) noexcept;
-1- Returns: If p owns a deleter d of type cv-unqualified D, returns
&d; otherwise returns 0. […]