New shared pointer

Thiago Macieira thiago at kde.org
Fri Sep 9 22:04:27 BST 2005


Frerich Raabe wrote:
>I'm not sure whether you saw that in my original mail, but
>QSharedData/QSharedDataPointer has exactly the two annoying quirks which
> I tried to remove.

That's why I suggest that you use QSharedData internally. You already have 
a KSharedData internal structure in order to hold the refcount variable. 
Why not simply use a QSharedData for that?

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

4. And æfter se scieppend ingelogode, he wrát "cenn", ac eala! se 
rihtendgesamnung andswarode "cenn: ne wát hú cennan 'eall'. Ástynt."
-------------- 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/20050909/be7e6e1e/attachment.sig>


More information about the kde-core-devel mailing list