[kdev 4] isn't this dangerous?

Matt Rogers mattr at kde.org
Sat Apr 21 13:45:30 UTC 2007


On Apr 21, 2007, at 12:41 AM, Andras Mantia wrote:

> On Friday 20 April 2007, Alexander Dymo wrote:
>> In our case static_cast is ok because plugin controller never sends
>> anything other than KDevelop::ICore pointer as an object.
>
> In that case of course it is fine to have the static_cast, but it was
> unclear (for me, and probably for Jens as well), what kind of pointer
> can you get there.
>
> Andras
>

We should probably add a comment there so that people can read the  
code and know it's safe. Any takers?

Matt






More information about the KDevelop-devel mailing list