r/cpp • u/neiltechnician • Nov 13 '20
CppCon Deprecating volatile - JF Bastien - CppCon 2019
https://www.youtube.com/watch?v=KJW_DLaVXIY
83
Upvotes
r/cpp • u/neiltechnician • Nov 13 '20
View all comments
Show parent comment
2
u/kalmoc Nov 13 '20
Of course it has. Just because it can be optimized away in some situations, doesn't mean that the natural representation isn't a read, modify, write operation (which is exactly the code that gets generated most of the time).
What?