### def_inherited

Controls the use of inherited.

##### Syntax

#pragma def_inherited on | off | reset

##### Targets

All platforms.

##### Remarks

The use of this pragma is deprecated. It lets you use the non-standard inherited symbol in C++ programming by implicitly adding

typedef base inherited;

as the first member in classes with a single base class.

NOTE The ISO C++ standard does not support the inherited symbol. Only the Carbide.c++ language implements the inherited symbol for single inheritance.

NOTE Pragmas may no longer correspond to their textual position in the file when this pragma is on.

This pragma does not correspond to any setting . To check this setting, use the __option (def_inherited), described in Checking Settings. The default setting is off.