You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is wrong in a multitude of ways... not least of which is that that's not even atomic. But also this assumes that sizeof(atomic<T>) == sizeof(T), that the layout of an atomic directly contains a T, and so on.