New shared pointer

Frerich Raabe raabe at kde.org
Sat Sep 10 00:20:01 BST 2005


On Friday 09 September 2005 21:04, Thiago Macieira wrote:
> 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.

Aha, so you mean just QSharedData - which in turn is just QAtomic. Yes, you 
could do that of course. You could let KSharedData inherit QSharedData - or 
you could use a QAtomic instead of an int. I'd do the latter.

- Frerich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050909/c8073a5a/attachment.sig>


More information about the kde-core-devel mailing list