May 2003
Intermediate to advanced
808 pages
32h 24m
English
volatile qualifier — Volatile qualifier
cv-qualifier ::= const | volatile
cv-qualifier-seq ::= const | volatile | const volatile | volatile constThe volatile qualifier can be
used with objects and member functions. The volatile qualifier tells the compiler to
avoid certain optimizations because the object’s value can change in
unexpected ways. As a function qualifier, volatile tells the compiler to treat
this as a volatile pointer in the member function
body.
volatile sig_atomic_t interrupted = false;