Skip to content

Commit 9e6232b

Browse files
author
Dawn Perchik
committed
LWG2942 LWG 2873's resolution missed weak_ptr::owner_before
1 parent 9dc0d34 commit 9e6232b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/utilities.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10494,8 +10494,8 @@
1049410494
long use_count() const noexcept;
1049510495
bool expired() const noexcept;
1049610496
shared_ptr<T> lock() const noexcept;
10497-
template<class U> bool owner_before(const shared_ptr<U>& b) const;
10498-
template<class U> bool owner_before(const weak_ptr<U>& b) const;
10497+
template<class U> bool owner_before(const shared_ptr<U>& b) const noexcept;
10498+
template<class U> bool owner_before(const weak_ptr<U>& b) const noexcept;
1049910499
};
1050010500

1050110501
template<class T> weak_ptr(shared_ptr<T>) -> weak_ptr<T>;
@@ -10654,8 +10654,8 @@
1065410654

1065510655
\indexlibrarymember{owner_before}{weak_ptr}%
1065610656
\begin{itemdecl}
10657-
template<class U> bool owner_before(const shared_ptr<U>& b) const;
10658-
template<class U> bool owner_before(const weak_ptr<U>& b) const;
10657+
template<class U> bool owner_before(const shared_ptr<U>& b) const noexcept;
10658+
template<class U> bool owner_before(const weak_ptr<U>& b) const noexcept;
1065910659
\end{itemdecl}
1066010660

1066110661
\begin{itemdescr}

0 commit comments

Comments
 (0)