protected d-pointers

Thiago Macieira thiago at kde.org
Wed Feb 6 23:47:27 GMT 2008


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.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- 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/3358cdd8/attachment.sig>


More information about the kde-core-devel mailing list