mirror of
https://github.com/boostorg/atomic.git
synced 2026-02-02 20:32:09 +00:00
As the names suggest, the methods perform the corresponding operation and test if the result is not zero. Also, for the emulated fetch_complement, take care of integral promotion, which could mess up the storage bits that were not part of the value on backends where the storage is larger than the value. This could in turn break CAS on the atomic value as it compares the whole storage.