Changes

Jump to: navigation, search

Places/Coding Style

153 bytes added, 14:02, 15 December 2009
no edit summary
When defining cpp methods opening brace and type are in new lines:<br>
<pre>type*
newMethodClass::NewMethod(type paramaParam, type*&nbsp;_outParam)
{
impl;
}
</pre>
Notice that input params are always starting with "a" letter, while output params should be prefixed with and underscore.
 
Constructors params are inited like this (notice order of inited params should be the same as they are defined in the class definition, otherwise GCC will warn)<br>
<pre>nsNavHistory::nsNavHistory()
Confirm
595
edits

Navigation menu