Keeping PlatSim internal only.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>def_inherited</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body>
<h3>def_inherited</h3>
<p> Controls the use of inherited.</p>
<h5>Syntax</h5>
<p class="code">#pragma def_inherited on | off | reset
</p>
<h5>Targets</h5>
All platforms.<br />
<h5>Remarks</h5>
<p>The use of this pragma is deprecated. It lets you use the non-standard inherited symbol in C++ programming by implicitly adding</p>
<p class="code">typedef base inherited;</p>
<p>as the first member in classes with a single base class.</p>
<p class="note"><strong>NOTE</strong> The ISO C++ standard does not support the inherited symbol. Only the Carbide.c++ language implements the inherited symbol for single inheritance.</p>
<p class="note"><strong>NOTE</strong> Pragmas may no longer correspond to their textual position in the file when this pragma is on.</p>
<p> This pragma does not correspond to any setting . To check this setting, use the <span class="code">__option (def_inherited)</span>, described in <a href="../symbols/sym_settings.htm">Checking Settings</a>. The default setting is <span class="code">off</span>.<br />
</p>
<p></p>
<div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>