—Are you going to suggest memset_s()?
—I don't know, it's only 2016, perhaps volatile…
cc @BRIAN_____
-
-
@BRIAN_____ Yes, I see now that the intent of std is that “volatile” must be applied to the object, not as an afterthought to the pointer. -
@BRIAN_____ It's “volatile object” all over the standard and “volatile lvalue” only by exception. -
@spun_off That's my understanding. Pointer-to-volatile at most *preserves* the `volatilie` of the pointed-at thing; it doesn't add it.
-
@BRIAN_____ A warning for both cases (volatile object, non-volatile lv OT1H and non-volatile object, volatile lv OTOH) should be feasible.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.