[depr.atomics.volatile]

# Annex D (normative) Compatibility features [[depr]](./#depr)

## D.23 Deprecated atomic operations [[depr.atomics]](depr.atomics#volatile)

### D.23.2 Volatile access [depr.atomics.volatile]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L930)

If an atomic ([[atomics.types.generic]](atomics.types.generic "32.5.8 Class template atomic")) specialization has one of the following overloads,
then that overload participates in overload resolution
even if atomic<T>​::​is_always_lock_free is false:void store(T desired, memory_order order = memory_order::seq_cst) volatile noexcept;
T operator=(T desired) volatile noexcept;
T load(memory_order order = memory_order::seq_cst) const volatile noexcept;operator T() const volatile noexcept;
T exchange(T desired, memory_order order = memory_order::seq_cst) volatile noexcept;bool compare_exchange_weak(T& expected, T desired,
 memory_order success, memory_order failure) volatile noexcept;bool compare_exchange_strong(T& expected, T desired,
 memory_order success, memory_order failure) volatile noexcept;bool compare_exchange_weak(T& expected, T desired,
 memory_order order = memory_order::seq_cst) volatile noexcept;bool compare_exchange_strong(T& expected, T desired,
 memory_order order = memory_order::seq_cst) volatile noexcept;
T fetch_*key*(T operand, memory_order order = memory_order::seq_cst) volatile noexcept;
T operator *op*=(T operand) volatile noexcept;
T* fetch_*key*(ptrdiff_t operand, memory_order order = memory_order::seq_cst) volatile noexcept;
