From kde-devel Tue Jun 09 17:13:43 2009 From: Thiago Macieira Date: Tue, 09 Jun 2009 17:13:43 +0000 To: kde-devel Subject: Re: KSharedPtr Upcasts Message-Id: <200906091913.44327.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=124456776605896 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1475416807==" --===============1475416807== Content-type: multipart/signed; boundary=nextPart5220853.t8qYzMcFay; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit --nextPart5220853.t8qYzMcFay Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Ramon Zarazua wrote: >I noticed while using KSharedPtr that it does not have a conversion >constructor for upcasts of it's internal pointer, however there is > operator=3D. > >Is there a specific reason for this? Or, has no-one implemented it yet? Probably no one implemented it. I'd like to point out that QSharedPointer implements all casts properly. =2D-=20 Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 --nextPart5220853.t8qYzMcFay Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBKLphIM/XwBW70U1gRAo9kAJ0UD7y5s2iQ1ZUuugpja6qzAzbKtQCcCmkf 2GS9uZFwYzrvUL4qbzsb0fQ= =RV3N -----END PGP SIGNATURE----- --nextPart5220853.t8qYzMcFay-- --===============1475416807== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1475416807==--