reinterpret_cast [C++ Reference]
Keywords: keywords,reinterpret_cast
Date: 2008-11-08T11:39:04-0800

[[reinterpret_cast]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## reinterpret_cast

Syntax:

        TYPE reinterpret_cast<TYPE> (object);

The reinterpret_cast operator changes one data type into another. It should be used to cast between incompatible pointer types.

Related Topics: const_cast, dynamic_cast, static_cast, A comparison of the C++ casting operators

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •