cpp/atomic/atomic flag

std is an atomic boolean type. Unlike all specializations of std, it is guaranteed to be lock-free. Unlike, does not provide load or store operations.