Title
owner_less
Status
c++11
Section
[util.smartptr.ownerless]
Submitter
Thomas Plum

Created on 2008-12-30.00:00:00 last changed 161 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [util.smartptr.ownerless] p2:

-2- operator()(x,y) shall return x.owner_before(y). [Note: ...

Date: 2010-10-21.18:28:33

[ Post Summit: ]

Recommend Tentatively Ready.

Date: 2010-10-21.18:28:33

[ Herve adds: ]

Agreed with the typo, it should be "shall return x.owner_before(y)".

Date: 2008-12-30.00:00:00

[util.smartptr.ownerless] (class template owner_less) says that operator()(x,y) shall return x.before(y).

However, shared_ptr and weak_ptr have an owner_before() but not a before(), and there's no base class to provide a missing before().

Being that the class is named owner_less , I'm guessing that "before()" should be "owner_before()", right?

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg4502
2010-10-21 18:28:33adminsetmessages: + msg4501
2010-10-21 18:28:33adminsetmessages: + msg4500
2008-12-30 00:00:00admincreate