D
doublemaster007
1) Can we call pure virtual functions from base class destructor?
2) Can we call virtual functions from base class destructor? which
function will be invoked?
What i think is either of them ends with crashing. because when
destructing the base class destructor, derived subobject is already
destroyed! But i have read some where that (1) ends with crash, second
one is not.
2) Can we call virtual functions from base class destructor? which
function will be invoked?
What i think is either of them ends with crashing. because when
destructing the base class destructor, derived subobject is already
destroyed! But i have read some where that (1) ends with crash, second
one is not.