mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
relaxed all ops of atomic_integral
This commit is contained in:
@ -147,7 +147,7 @@ struct atomic_integral
|
||||
operator Integral()const{return n.load(std::memory_order_relaxed);}
|
||||
void operator=(Integral m){n.store(m,std::memory_order_relaxed);}
|
||||
void operator|=(Integral m){n.fetch_or(m,std::memory_order_relaxed);}
|
||||
void operator&=(Integral m){n.fetch_and(m,std::memory_order_acq_rel);}
|
||||
void operator&=(Integral m){n.fetch_and(m,std::memory_order_relaxed);}
|
||||
|
||||
std::atomic<Integral> n;
|
||||
};
|
||||
|
Reference in New Issue
Block a user