No -- derived class has not been constructed at that point. When an object is instantiated the compiler first calls the base class then all derived classes, working its way up from the bottom to the top of the hierarchy. classes are destroy in the opposite manner.
Thank you friends. I agree with you in normal C++ usage. I was wondering if i could some how achieve this e.g. if i know the compiler internal working;).
Anyways, from your point, i understand there is no known way till now to achieve this. So thanks for your valuable comments.
I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...