<documentation title="Class Declarations">
<standard>
<![CDATA[
The opening brace of a class must be on the line after the definition by itself.
]]>
</standard>
<code_comparison>
<code title="Valid: Opening brace on the correct line.">
<![CDATA[
class Foo
<em>{</em>
}
]]>
</code>
<code title="Invalid: Opening brace on same line as declaration.">
<![CDATA[
class Foo <em>{</em>
}
]]>
</code>
</code_comparison>
</documentation>
|