DRAFT document on coding conventions in kde libraries

André Wöbbeking Woebbeking at onlinehome.de
Mon Mar 6 14:12:49 GMT 2006


On Monday 06 March 2006 14:57, Frerich Raabe wrote:
> On Monday 06 March 2006 14:33, Frans Englich wrote:
> > On Monday 06 March 2006 09:44, Thiago Macieira wrote:
> > > People shouldn't use C-style casts, but sometimes they may have
> > > to.
> >
> > Could you give an example of when one would have to use a C-style
> > cast?
>
> When casting the pointer returned by dlsym to the correct type, for
> example.

reinterpret_cast<>() doesn't work in this case?




More information about the kde-core-devel mailing list