[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdebase/konqueror/keditbookmarks
From:       Maksim Orlovich <mo002j () mail ! rochester ! edu>
Date:       2003-09-23 18:21:45
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic