reinterpret_cast

Syntax:

    T reinterpret_cast<T> (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, casting_comparison