Created on 2009-11-04.00:00:00 last changed 162 months ago
Proposed resolution:
Change [util.smartptr.weak]/1 as indicated:
namespace std { template<class T> class weak_ptr { public: ...// comparisonstemplate<class Y> bool operator<(weak_ptr<Y> const&) const = delete;template<class Y> bool operator<=(weak_ptr<Y> const&) const = delete;template<class Y> bool operator>(weak_ptr<Y> const&) const = delete;template<class Y> bool operator>=(weak_ptr<Y> const&) const = delete;}; ...
[ 2009-11-14 Moved to Tentatively Ready after 5 positive votes on c++std-lib. ]
Additional to the necessary cleanup of the description of the the weak_ptr component from [util.smartptr.weak] described in 1231 it turns out that the currently deleted comparison functions of weak_ptr are not needed at all: There is no safe-bool conversion from weak_ptr, and it won't silently chose a conversion to shared_ptr.
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
2010-10-21 18:28:33 | admin | set | messages: + msg1337 |
2010-10-21 18:28:33 | admin | set | messages: + msg1336 |
2009-11-04 00:00:00 | admin | create |