cptr::atomic_ptr::wait

Blocks until the value is no longer old (and a notify call wakes it).

Synopsis

Declared in <cptr/pack.hpp>

void
wait(
    T* old,
    std::memory_order order = std::memory_order_seq_cst) const noexcept;