about kde4's smart pointer
thiago at kde.org
Tue Oct 3 16:10:48 BST 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the kde-core-devel