DRAFT document on coding conventions in kde libraries

Frerich Raabe raabe at froglogic.com
Mon Mar 6 15:57:15 GMT 2006


On Monday 06 March 2006 16:45, Thiago Macieira wrote:
> Frerich Raabe wrote:
> >On Monday 06 March 2006 15:12, André Wöbbeking wrote:
> >> On Monday 06 March 2006 14:57, Frerich Raabe wrote:
> >> > On Monday 06 March 2006 14:33, Frans Englich wrote:
> >> > > 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?
> >
> >No.
>
> that's weird...

Not at all: http://www.trilithium.com/johan/2004/12/problem-with-dlsym/

-- 
Frerich Raabe - raabe at froglogic.com
www.froglogic.com - Qt consulting and add-ons




More information about the kde-core-devel mailing list