4 ms·
> C++ has a well defined memory model Only since C++11, and it's not a full blown memory model.
by Galanwe 5y ago
> C++ has a well defined memory model
Only since C++11, and it's not a full blown memory model.
- jcelerier 5y agoit's defined enough for C to have adopted it since C11 (https://people.mpi-sws.org/~viktor/papers/cpp2015-invited.pdf https://people.mpi-sws.org/~viktor/papers/cpp2015-invited.pd...)
- gpderetta 5y agoC++ has with a close, approximation, the same memory model as C, both concurrent and otherwise. In fact C11 just adopted the C++11 concurrent memory model wholesale.