<p>What are your favorite C++ coding style idioms? I'm asking about style or coding typography such as where you put curly braces, are there spaces after keywords, the size of indents, etc.  This is opposed to best-practices or requirements such as always deleting arrays with <code>delete[]</code>.   </p>

<p>Here is an example of one of my favorites:   In C++ Class initializers, we put the separators at the front of the line, rather than the back.  This makes it easier to keep this up to date.  It also means that source code control diffs between versions are cleaner.</p>

<pre><code>TextFileProcessor::
TextFileProcessor( class ConstStringFinder&amp; theConstStringFinder ) 

    : TextFileProcessor_Base( theConstStringFinder )

    , m_ThreadHandle  ( NULL )
    , m_startNLSearch (    0 )
    , m_endNLSearch   (    0 )
    , m_LineEndGetIdx (    0 )
    , m_LineEndPutIdx (    0 )
    , m_LineEnds      ( new const void*[ sc_LineEndSize ] )
{
    ;
}
</code></pre>

Write each method or function argument on a separate line such that it can be easily commented.
```
```
int ReturnMaxValue(
    int* inputList,   /* the list of integer values from which to get the maximum */
    long size,        /* count of the number of integer values in inputList */
    char* extraArgs   /* additional arguments that a caller can provide.    */
)
```
```