C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++…
@lebyy▲ 0 net votes
Problem: C++11 introduced a standardized memory model, but what exactly does that mean? And how is it going to affect C++ programming? This article (by Gavin Clarke who quotes Herb Sutter ) says that, The memory model means that C++ code now has a standardized… Fix (from the top answer): First, you have to learn to think like a Language Lawyer. The C++ specification does not make reference to any particular compiler, operating system, or CPU. It makes reference to an abstract machine that is a generalization of actual systems. In the Language Lawyer world, the job of the programmer is to write code…