| 178 | } |
| 179 | |
| 180 | std::shared_ptr<_Ty> |
| 181 | exchange(std::shared_ptr<_Ty> __ptr, memory_order __order = memory_order_seq_cst) noexcept |
| 182 | { |
| 183 | return std::atomic_exchange_explicit(&__ptr_, |
| 184 | std::move(__ptr), |
| 185 | static_cast<std::memory_order>(__order)); |
| 186 | } |
| 187 | |
| 188 | bool compare_exchange_weak(std::shared_ptr<_Ty>& __expected, |
| 189 | std::shared_ptr<_Ty> __desired, |
no outgoing calls
no test coverage detected