cpp/atomic/atomic/load

Atomically loads and returns the current value of the atomic variable. Memory is affected according to the value of.

must be one of std, std, std or std. Otherwise the behavior is undefined.

Return value
The current value of the atomic variable.