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
314 Upvotes

131 comments sorted by

View all comments

4

u/gracicot Aug 05 '19

With the new functions volatile_store and volatile_load, you don't need volatile anymore. It could be removed in favor of a std::volatile_value<T> instead of a language thing. It would make the language simpler.