[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Pimpl copying
From:       Peter_Kümmel <syntheticpp () gmx ! net>
Date:       2006-07-19 8:53:32
Message-ID: 44BDF30C.1030806 () gmx ! net
[Download RAW message or body]

Matthias Kretz wrote:
> On Tuesday 18 July 2006 14:26, Peter Kümmel wrote:
>> BTW the cast is the price they pay for their Private "Hinterwelt", means
>> there is a second class hierarchy behind the scene.
> 
> The cast is a noop (reinterpret_cast) and therefore not a price payed in 
> performance. 

I wonder if a static_cast would not be enought.

> The cast is safe as long as you don't use multiple inheritance. 

Qt: "What is multiple inheritance?"  ;)

Peter
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic