Atomically replace the value stored in *this
with the bitwise-or of the supplied
value and the value stored in *this
and return the new value.
integral-type operator|=( integral-type i) volatile;
this->fetch_or(i,std::memory_order_seq_cst)
| i
.
Nothing.
#include <atomic>