title: Making one of the inherited protected members private
body: <pre><code>class A
  {
  protected:
      int m_a;
      int m_b;
  };
  
  class B: public A
  {
  };
  </code></pre>
  
  <p>In class B i want to make <code>m_a</code> private. 
  Does the following the correct way to do it </p>
  
  <pre><code>class B:public A
  {    
  private:
      int m_a;
  };
  </code></pre>
  
  <p>Won't this result in 2 copies of <code>m_a</code> ?</p>