The reinterpret_cast operator changes one type into a fundamentally different type. For example, it can be used to change a pointer into an integer. It has this general form:

reinterpret_cast<type> (expr)

A reinterpret_cast should be used for casting inherently incompatible pointer types.

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 © 2008-2017.
If you may any questions please contact us: