 <p>Well, if you do not need all the members of your base class in your derived class, then yes, there will be a waste of memory. </p> <p>One should probably code in such a manner as to reduce wastage of memory like this.</p>