Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32def.h
Link against:

_MUTABLE

__MUTABLE

Support

Supported from 5.0

Description

Mutable keyword support - deprecated.

This macro, and the related macro MUTABLE_CAST, were originally provided to support the mutable keyword — which was not supported by the GCC compiler. It is now possible to use the C++ keyword in either GCC or VC6, and developers should do so in preference to using this macro.

This macro provides equivalent functionality to mutable in both compilers, without need to change source code.

The macro is defined as follows:

#define __NO_MUTABLE_KEYWORD#if defined(__NO_MUTABLE_KEYWORD)#define __MUTABLE#else#define __MUTABLE mutable#endif

See also: