[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KPresenter
From: Kurt Granroth <granroth () kde ! org>
Date: 1999-11-01 22:32:00
[Download RAW message or body]
Reginald Stadlbauer wrote:
> I mean, you can always live without C++ casts, because
>
> dynamic_cast<AClass>( 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic