Updated the synopsis for weak_ptr<T>::owner_before to match the code. No code changes.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@189812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
85bbdcdad4
commit
1b5f3adcef
@ -496,8 +496,8 @@ public:
|
|||||||
long use_count() const noexcept;
|
long use_count() const noexcept;
|
||||||
bool expired() const noexcept;
|
bool expired() const noexcept;
|
||||||
shared_ptr<T> lock() const noexcept;
|
shared_ptr<T> lock() const noexcept;
|
||||||
template<class U> bool owner_before(shared_ptr<U> const& b);
|
template<class U> bool owner_before(shared_ptr<U> const& b) const;
|
||||||
template<class U> bool owner_before(weak_ptr<U> const& b);
|
template<class U> bool owner_before(weak_ptr<U> const& b) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
// weak_ptr specialized algorithms:
|
// weak_ptr specialized algorithms:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user