[depr.atomics.nonmembers]

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

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

### D.23.3 Non-member functions [depr.atomics.nonmembers]

[ð](#lib:atomic_init)

`template<class T>
  void atomic_init(volatile atomic<T>* object, typename atomic<T>::value_type desired) noexcept;
template<class T>
  void atomic_init(atomic<T>* object, typename atomic<T>::value_type desired) noexcept;
`

[1](#1)

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

*Effects*: Equivalent to: atomic_store_explicit(object, desired, memory_order​::​relaxed);
