const_cast
volatile
Quote:In particular, only const_cast may be used to cast away (remove) constness or volatility
Quote:Any attempt to refer to a volatile object through a non-volatile glvalue (e.g. through a reference or pointer to non-volatile type) results in undefined behavior
const
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)