title: I do not want the derived class to inherit the constructor function of the Base class
body: <p>As it is located at the title.   </p>
  
  <p><strong>Here is example:</strong>  </p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  class Base {
  private:
      int nSize;
  
  public:
      Base(){
          cout &lt;&lt; "I'm Base constructor" &lt;&lt; endl;
      }
  };
  
  class Derived : public Base {
      int nMaxSize;
  
  public:
       Derived(){
          cout &lt;&lt; "I'm Derived constructor" &lt;&lt; endl;
      }
  };
  
  int main(){
      Derived obj;
  
      return 0;
  }
  </code></pre>
  
  <p><strong>The result:</strong>  </p>
  
  <pre>
  I'm Base constructor
  I'm Derived constructor
  </pre>