title: is this possible to inherit private class but make members public?
body: <p>I want to have members inherited private. I think I saw an example of making them public nevertheless this fact that are derived with private keyword. My question: how to do it, and if it is possible then shouldn't it be prohibited?</p>
  
  <pre><code>class U{
  public:
      int a;
  protected:
      int b;
  private:
      int c;
  };
  
  class V : private U{
  public:
      int i;
      //can make a public again?
  };
  </code></pre>