cpp/atomic/atomic init

Initializes the default-constructed atomic object with the value. The function is not atomic: concurrent access from another thread, even through an atomic operation, is a data race.

If was not default-constructed, the behavior is undefined.

If this function is called twice on the same, the behavior is undefined.

Return value
(none)