[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KSharedPtr Upcasts
From:       Thiago Macieira <thiago () kde ! org>
Date:       2009-06-09 17:13:43
Message-ID: 200906091913.44327.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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=.
>
>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.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic