Does using a static_cast on a polymorphic object indicate a design flaw?
<p>I know that dynamic_cast should be avoided, but suppose I have in my program an object x of class Base which I know at a certain point in the execution is also of class Derived (which inherits from Base). Is it acceptable to use static_cast to downcast in order to call Derived methods, etc.? Or does this indicate a design flaw?</p>
