From kde-core-devel Mon Nov 01 22:32:00 1999 From: Kurt Granroth Date: Mon, 01 Nov 1999 22:32:00 +0000 To: kde-core-devel Subject: Re: KPresenter X-MARC-Message: https://marc.info/?l=kde-core-devel&m=94149558428161 Reginald Stadlbauer wrote: > I mean, you can always live without C++ casts, because > > dynamic_cast( aPtr )->doSomething() > > can be replaced by > > ( (AClass*)aPtr )->soSomething(). > > Itīs just that the first (C++) solution is the better one. Why is it better? I'll admit that I've never used dynamic_cast before as I couldn't see the point. -- Kurt Granroth | granroth@kde.org KDE Developer/Evangelist | http://www.pobox.com/~kurt_granroth KDE -- Putting a Friendly Face on Linux