title: Using static function for classes' helpers in C++
body: <p>Is it still worth using static functions in C++ as a helpers?</p>
  
  <p>Example:
  in file.cpp</p>
  
  <pre><code>static void helperFunc() { do something }
  
  // class implementation
  // ...
  
  // some public method, not static
  void myClass::doSomething() { helperFunc(); }
  </code></pre>
  
  <p>That way I do not have to declare private method in class's declaration.</p>
  
  <p>Or maybe it is better to use unnamed namespaces and write (in the same file as above)?</p>
  
  <pre><code>namespace {
      void helperFunc() { }
  }
  </code></pre>
  
  <p>What is better?</p>