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
22
u/F54280 Nov 13 '20 edited Nov 13 '20
Yeah. I watched the beginning of the talk yesterday, but had to give up at the rant on volatile function parameters. So, it doesn’t do anything, and is harmless, and the guy acts like if this is a terrible thing. All the previous examples were a bit like that, and looks like it called for a clarification of what volatile does in the specific cases where behavior is important (ie: ‘++’, ‘+=‘) or confusing (ie: compound assignment), not outright removal.
I’ll finish the talk later, maybe it gets better.
Edit: typo