Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32def.h
Link against:

REINTERPRET_CAST

REINTERPRET_CAST(type,exp) (reinterpret_cast<type>(exp))
REINTERPRET_CAST(type,exp) ((type)(exp))

Support

Supported from 5.0

Description

Reinterpret cast macro — deprecated.

This macro was originally provided to supply re-interpret cast functionality independent of the source compiler. It is now possible to use the reinterpret_cast operator in either GCC or VC6, and developers should do so in preference to using this macro.

In the Microsoft Visual Studio compiler the macro expands to the C++ reinterpret_cast operator. In GCC the macro expands to a standard C-style cast, as reinterpret_cast was not supported when the macro was written.

Parameters

type

Destination type of cast.

exp

Expression to cast.