title: What are your favorite C++ Coding Style idioms
body: <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>