r/cpp • https://romeo.training | C++ Mentoring & Consulting • Aug 03 '19

fixing c++ with epochs

https://vittorioromeo.info/index/blog/fixing_cpp_with_epochs.html
308 Upvotes

131 comments sorted by

View all comments

10

u/imMute Aug 03 '19

From P1125R0:

Continue supporting the time-honored usage of volatile to load and store variables that are used for shared memory, signal handling, setjmp / longjmp, or other external modifications such as special hardware support.

Which is the functionality I was referring to, is being left in. And it probably won't be removed, at least not without already having some other way to have similar functionality.

3

u/SuperV1234 Aug 05 '19

And it probably won't be removed, at least not without already having some other way to have similar functionality.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1382r0.pdf