|
3468 | 3468 | constexpr long use_count() const noexcept; |
3469 | 3469 | constexpr explicit operator bool() const noexcept; |
3470 | 3470 | template<class U> |
3471 | | - constexpr bool owner_before(const shared_ptr<U>& b) const noexcept; |
| 3471 | + bool owner_before(const shared_ptr<U>& b) const noexcept; |
3472 | 3472 | template<class U> |
3473 | | - constexpr bool owner_before(const weak_ptr<U>& b) const noexcept; |
| 3473 | + bool owner_before(const weak_ptr<U>& b) const noexcept; |
3474 | 3474 | size_t owner_hash() const noexcept; |
3475 | 3475 | template<class U> |
3476 | 3476 | constexpr bool owner_equal(const shared_ptr<U>& b) const noexcept; |
|
4076 | 4076 |
|
4077 | 4077 | \indexlibrarymember{owner_before}{shared_ptr}% |
4078 | 4078 | \begin{itemdecl} |
4079 | | -template<class U> constexpr bool owner_before(const shared_ptr<U>& b) const noexcept; |
4080 | | -template<class U> constexpr bool owner_before(const weak_ptr<U>& b) const noexcept; |
| 4079 | +template<class U> bool owner_before(const shared_ptr<U>& b) const noexcept; |
| 4080 | +template<class U> bool owner_before(const weak_ptr<U>& b) const noexcept; |
4081 | 4081 | \end{itemdecl} |
4082 | 4082 |
|
4083 | 4083 | \begin{itemdescr} |
|
4793 | 4793 | constexpr bool expired() const noexcept; |
4794 | 4794 | constexpr shared_ptr<T> lock() const noexcept; |
4795 | 4795 | template<class U> |
4796 | | - constexpr bool owner_before(const shared_ptr<U>& b) const noexcept; |
| 4796 | + bool owner_before(const shared_ptr<U>& b) const noexcept; |
4797 | 4797 | template<class U> |
4798 | | - constexpr bool owner_before(const weak_ptr<U>& b) const noexcept; |
| 4798 | + bool owner_before(const weak_ptr<U>& b) const noexcept; |
4799 | 4799 | size_t owner_hash() const noexcept; |
4800 | 4800 | template<class U> |
4801 | 4801 | constexpr bool owner_equal(const shared_ptr<U>& b) const noexcept; |
|
4992 | 4992 |
|
4993 | 4993 | \indexlibrarymember{owner_before}{weak_ptr}% |
4994 | 4994 | \begin{itemdecl} |
4995 | | -template<class U> constexpr bool owner_before(const shared_ptr<U>& b) const noexcept; |
4996 | | -template<class U> constexpr bool owner_before(const weak_ptr<U>& b) const noexcept; |
| 4995 | +template<class U> bool owner_before(const shared_ptr<U>& b) const noexcept; |
| 4996 | +template<class U> bool owner_before(const weak_ptr<U>& b) const noexcept; |
4997 | 4997 | \end{itemdecl} |
4998 | 4998 |
|
4999 | 4999 | \begin{itemdescr} |
|
5067 | 5067 | template<class T = void> struct owner_less; |
5068 | 5068 |
|
5069 | 5069 | template<class T> struct owner_less<shared_ptr<T>> { |
5070 | | - constexpr bool operator()(const shared_ptr<T>&, const shared_ptr<T>&) const noexcept; |
5071 | | - constexpr bool operator()(const shared_ptr<T>&, const weak_ptr<T>&) const noexcept; |
5072 | | - constexpr bool operator()(const weak_ptr<T>&, const shared_ptr<T>&) const noexcept; |
| 5070 | + bool operator()(const shared_ptr<T>&, const shared_ptr<T>&) const noexcept; |
| 5071 | + bool operator()(const shared_ptr<T>&, const weak_ptr<T>&) const noexcept; |
| 5072 | + bool operator()(const weak_ptr<T>&, const shared_ptr<T>&) const noexcept; |
5073 | 5073 | }; |
5074 | 5074 |
|
5075 | 5075 | template<class T> struct owner_less<weak_ptr<T>> { |
5076 | | - constexpr bool operator()(const weak_ptr<T>&, const weak_ptr<T>&) const noexcept; |
5077 | | - constexpr bool operator()(const shared_ptr<T>&, const weak_ptr<T>&) const noexcept; |
5078 | | - constexpr bool operator()(const weak_ptr<T>&, const shared_ptr<T>&) const noexcept; |
| 5076 | + bool operator()(const weak_ptr<T>&, const weak_ptr<T>&) const noexcept; |
| 5077 | + bool operator()(const shared_ptr<T>&, const weak_ptr<T>&) const noexcept; |
| 5078 | + bool operator()(const weak_ptr<T>&, const shared_ptr<T>&) const noexcept; |
5079 | 5079 | }; |
5080 | 5080 |
|
5081 | 5081 | template<> struct owner_less<void> { |
5082 | 5082 | template<class T, class U> |
5083 | | - constexpr bool operator()(const shared_ptr<T>&, const shared_ptr<U>&) const noexcept; |
| 5083 | + bool operator()(const shared_ptr<T>&, const shared_ptr<U>&) const noexcept; |
5084 | 5084 | template<class T, class U> |
5085 | | - constexpr bool operator()(const shared_ptr<T>&, const weak_ptr<U>&) const noexcept; |
| 5085 | + bool operator()(const shared_ptr<T>&, const weak_ptr<U>&) const noexcept; |
5086 | 5086 | template<class T, class U> |
5087 | | - constexpr bool operator()(const weak_ptr<T>&, const shared_ptr<U>&) const noexcept; |
| 5087 | + bool operator()(const weak_ptr<T>&, const shared_ptr<U>&) const noexcept; |
5088 | 5088 | template<class T, class U> |
5089 | | - constexpr bool operator()(const weak_ptr<T>&, const weak_ptr<U>&) const noexcept; |
| 5089 | + bool operator()(const weak_ptr<T>&, const weak_ptr<U>&) const noexcept; |
5090 | 5090 |
|
5091 | 5091 | using is_transparent = @\unspec@; |
5092 | 5092 | }; |
|
0 commit comments