def_inherited

Controls the use of inherited .

Syntax
#pragma def_inherited on | off | reset
  
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/IEC 14882:2003 C++ standard does not support the inherited symbol. Only the CodeWarrior C++ language implements the inherited symbol for single inheritance.

By default, this pragma is off .

Related information
access_errors
always_inline
arg_dep_lookup
ARM_conform
ARM_scoping
array_new_delete
auto_inline
bool
cplusplus
cpp1x
cpp_extensions
debuginline
defer_codegen
defer_defarg_parsing
direct_destruction
direct_to_som
dont_inline
ecplusplus
exceptions
inline_bottom_up
inline_bottom_up_once
inline_depth
inline_max_auto_size
inline_max_size
inline_max_total_size
internal
iso_templates
new_mangler
no_conststringconv
no_static_dtors
nosyminline
old_friend_lookup
old_pods
old_vtable
opt_classresults
parse_func_templ
parse_mfunc_templ
RTTI
suppress_init_code
template_depth
thread_safe_init
warn_hidevirtual
warn_no_explicit_virtual
warn_no_typename
warn_notinlined
warn_structclass
wchar_type