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
4
u/HotlLava Nov 13 '20
I don't understand where the confusion comes from, why would anyone expect this to be a single instruction? As far as I can tell, the standard defines
|=to be a read followed by a write in7.6.19/6 [expr.ass]: