title: Do I have to mention private methods in the header file of a class?
body: <p>For now I do not use header files at all. Classes are each in a single <code>.cpp</code> file completely. But to save compile time I want to make use of header files now. My hope is that Visual Studio won't compile classes which weren't modified for debug builds then.</p>
  
  <p>Is there a way to mention only public methods and members in the header file. In theory that would be enough information for the compiler. If another file, say <code>main.cpp</code> includes the class header there is no need for private methods and members, is it?</p>
  
  <p>How can I use header files without retyping the names of private methods and members? The reasons for me to want so is coding productivity. When I want do add a small helper function to the class used by another method, I don't want to have to also add it's signature to the header file.</p>