continue

const_cast

The const_cast operator is used to explicitly override const and/or volatile in a cast. It has this general form:

const_cast<type> (expr)

The target type must be the same as the source type except for the alteration of its const or volatile attributes. The most common use of const_cast is to remove constness.




C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net