Performs a bitwise exclusive or on a value and an existing value that is stored in an atomic object.
template <class T> inline T atomic_fetch_xor_explicit( volatile atomic<T>* Atom, T Value, memory_order Order); noexcepttemplate <class T> inline T atomic_fetch_xor_explicit( volatile atomic<T>* Atom, T Value, memory_order Order); noexcept
A pointer to an atomic object that stores a value of type T.
A value of type T.
The value contained by the atomic object immediately before the operation was performed.
The atomic_fetch_xor_explicit function performs a read-modify-write operation to replace the stored value of Atom with a bitwise exclusive or of Value and the current value that is stored in Atom, within the memory_order constraints that are specified by Order.