On Tue, 23 Sep 2003, Dirk Mueller wrote: > On Monday 22 September 2003 23:12, Alexander Kellett wrote: > > > > If it is obviously incorrect, then make it that way. dynamic_cast does > > > not say that. dynamic_cast checks at RUNTIME. Use a compile-time cast. > > which would be? > > static_cast, const_cast, qt_cast or a C-style cast. None of which can work unless the exact type is known at compile time. General casts across an MI hierarchy can only be done at runtime, since the size of each of the subobjects can't be determined during compilation.