Restricting inheritance
<blockquote>
  <p>class BaseA{}; , class DerivedB{}; class DerivedC{};</p>
</blockquote>

<p>DerivedB can be derived from BaseA : Want to allow: class DerivedB: public BaseA</p>

<p>But, if someone tries to do DerivedC : public BaseA ==> want to restrict this.</p>

<p>Is it possible?</p>
