protected d-pointers

Matthias Kretz kretz at
Thu Feb 7 09:26:37 GMT 2008

On Thursday 07 February 2008, Thiago Macieira wrote:
> Matthias Kretz wrote:
> >Hi,
> >
> >I suggest we require kdelibs classes to only use protected d-pointers so
> > that the shared-d-pointer pattern can be used when needed. Once we need
> > to keep BC on Windows we cannot change private members to protected
> > members anymore. So we can still do this now...
> Windows mangling of names only applies to symbol names. Member variables
> are not affected.
> Changing a private: d to a protected: d_ptr is BC.

Ah, Thierry told me otherwise. (Possibly a misunderstanding.) If you're right 
and changing member variables is BC on all platforms then you can ignore this 

Matthias Kretz (Germany)                            <><
MatthiasKretz at, kretz at,
Matthias.Kretz at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list