forked from boostorg/unordered
partially reverted prior commit to nail down problem with Clang x86
This commit is contained in:
@ -146,8 +146,8 @@ struct atomic_integral
|
|||||||
{
|
{
|
||||||
operator Integral()const{return n.load(std::memory_order_relaxed);}
|
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.store(m,std::memory_order_relaxed);}
|
||||||
void operator|=(Integral m){n.fetch_or(m,std::memory_order_relaxed);}
|
void operator|=(Integral m){n.fetch_or(m,std::memory_order_acq_rel);}
|
||||||
void operator&=(Integral m){n.fetch_and(m,std::memory_order_relaxed);}
|
void operator&=(Integral m){n.fetch_and(m,std::memory_order_acq_rel);}
|
||||||
|
|
||||||
std::atomic<Integral> n;
|
std::atomic<Integral> n;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user