Avoid dynamic_cast to convert current object to its derived class from its constructor or destructor | CAST Appmarq