protected d-pointers

Matthias Kretz kretz at kde.org
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 
thread...

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- 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: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080207/75468d05/attachment.sig>


More information about the kde-core-devel mailing list