Volatile (computer programming): Difference between revisions

Content deleted Content added
In C and C++: no optimisation for volatile
WikiCleanerBot (talk | contribs)
m v2.05b - Bot T20 CW#61 - Fix errors for CW project (Reference before punctuation)
Line 9:
==In C and C++==
 
In C, and consequently C++, the <code>volatile</code> keyword was intended to:<ref name="auto">{{cite web |title=Publication on C++ standards committee|url= http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2016.html}}</ref>:
*allow access to [[memory-mapped I/O]] devices
*allow uses of variables between <code>[[setjmp]]</code> and <code>longjmp</code>