--nextPart6108895.dahs27li3A Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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. =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart6108895.dahs27li3A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFIn2HM/XwBW70U1gRAsWiAJ9CVS9lJQBQUpiSz095v/t47ChhIgCfXU0j tgrZ+YcxfByjlUiJrBXM6RQ= =TMOm -----END PGP SIGNATURE----- --nextPart6108895.dahs27li3A--