title: Private parameters in public methods
body: <p>Neither g++ nor javac emit warnings when the parameters to non-private methods are of private types (e.g., private nested classes). Such methods cannot be used by clients, but they can appear as part of a class's public API. </p>
  
  <p>In C++, putting such methods into the public section of a class Foo, for example, could allow other classes to access these methods without explicitly being listed as friends inside class Foo (so long as they can access the private types used as parameters).</p>
  
  <p>But in general, would it be bad style to not explicitly make such methods private, or can this just be ignored? (since clients can't use it anyway, what's the big deal)</p>