Pimpl copying

Peter Kümmel syntheticpp at gmx.net
Wed Jul 19 09:53:32 BST 2006


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




More information about the kde-core-devel mailing list