Section: 22.214.171.124 [util.smartptr.shared.dest] Status: C++11 Submitter: Peter Dimov Opened: 2008-09-18 Last modified: 2016-02-10
Priority: Not Prioritized
View all other issues in [util.smartptr.shared.dest].
View all issues with C++11 status.
James Dennett, message c++std-lib-22442:
The wording below addresses one case of this, but opening an issue to address the need to sanity check uses of the term "pointer" in 23.11.3 [util.smartptr.shared] would be a good thing.
There's one more reference, in ~shared_ptr; we can apply your suggested change to it, too. That is:
Change 126.96.36.199 [util.smartptr.shared.dest]/1 second bullet from:
Otherwise, if *this owns a pointer p and a deleter d, d(p) is called.
Otherwise, if *this owns an object p and a deleter d, d(p) is called.
[ Post Summit: ]
[ Batavia (2009-05): ]
Peter Dimov notes the analogous change has already been made to "the new nullptr_t taking constructors in 188.8.131.52 [util.smartptr.shared.const] p9-13."
We agree with the proposed resolution. Move to Tentatively Ready.
Change 184.108.40.206 [util.smartptr.shared.dest] p1 second bullet:
- Otherwise, if *this owns
a pointerp and a deleter d, d(p) is called.