Make sure your base class has a virtual destructor or else calling delete on the base class pointer will not call the right destructor.
Make sure your base class has a virtual destructor or else calling delete on the base class pointer will not call the right destructor.
"Queen and huntress, chaste and fair,
Now the sun is laid to sleep,
Seated in thy silver chair,
State in wonted manner keep."