Publicizing a constructor in private inheritance
<p>During private inheritance the public member variable or member functions of Base class can be assigned back the public access specifier in Derived.
But can we do the same for a public constructor of Base class?</p>

<p>I tried it as follows,</p>

<pre><code>#include &lt;iostream&gt;

using namespace std;

class base
{
      public:
             base(){}
             void print(){ puts("In print"); }
};

class derived : private base
{
      public:
             base::print;
             base::base;   /* Throws an error - Declaration doesnt declare anything*/
             void display(){ puts("In display"); }
};

int main()
{
    derived dObj;
}
</code></pre>

<p>It throws an error "Declaration doesnt declare anything"
Is what I am trying valid?</p>
