Re:Sane C++ Libraries
by jbandela1 on Saturday January 27, 2024 @09:48PM
(#39162072)
Also, std::atomic is one of those special types.
It is deeply integrated into the C++11 memory model. The compiler has to know about the semantics of the type to make sure it doesn’t reorder operations around it.
It is deeply integrated into the C++11 memory model. The compiler has to know about the semantics of the type to make sure it doesn’t reorder operations around it.