Pointers to dynamic objects don't static_cast: Safe alternatives range from using dynamic_cast to refactoring to redesigning.