[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: about kde4's smart pointer
From: Thiago Macieira <thiago () kde ! org>
Date: 2006-10-03 15:10:48
Message-ID: 200610031711.03254.thiago () kde ! org
[Download RAW message or body]
Cyrille Berger wrote:
>On Tuesday 03 October 2006 16:08, Thiago Macieira wrote:
>> Doesn't QSharedData/QSharedDataPointer do what you want? They have
>> copy-on-write semantics, though.
>
>yes and that's the problem :) They are designed to reduce the number of
> copy, not to replace pointers and be used as smart pointers.
There's QPointer, but your object has to be a QObject.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic