Problem in virtual inheritance
<pre><code>class base { 
protected: 
    base() {} 
}; 

class der1 :  virtual private base { 

public: 
    der1() {} 
}; 

class der2 : public der1
{
public:
    der2() {}

};

int main() {
    der2 d;
}
</code></pre>

<p>It gives compile time error: 'base::base' : cannot access inaccessible member declared in class 'base'</p>

<p>But base class constructor is define publically it compiles.</p>

<p>Pls anyone can give explaination?</p>
