about kde4's smart pointer

Thiago Macieira thiago at kde.org
Tue Oct 3 15:08:39 BST 2006


Cyrille Berger wrote:
>Can we have the kde3 behaviour back for smart pointer ? The new one is
> really painfull. We use them a lot in krita, and what we want is them
> to be use transparently as if they were "normal" pointers.

Doesn't QSharedData/QSharedDataPointer do what you want? They have 
copy-on-write semantics, though.

-- 
  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: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061003/12fb7f4c/attachment.sig>


More information about the kde-core-devel mailing list