title: Is it possible to make some function parameters private to the outside of an object but accessible to inside of it?
body: <p>I don't know if you would have to use different functions for the same task, but is it possible to do something like this in c++, but in another way?</p>
  <pre><code>void foo(int n , private Bar *bar) {}
  </code></pre>
  <p>I'm planning to code a recursive function into an object, but don't want <em>some</em> parameters to be accessible outside the object.</p>