[kdev 4] isn't this dangerous?

Andreas Pakulat apaku at gmx.de
Sat Apr 21 14:25:15 UTC 2007


On 21.04.07 08:45:30, Matt Rogers wrote:
> 
> 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?

Done.

Andreas

-- 
Don't read any sky-writing for the next two weeks.




More information about the KDevelop-devel mailing list