Use of Boost library classes in kdecore?

Thiago Macieira thiago at kde.org
Sat Jul 7 18:51:33 BST 2007


David Jarvie wrote:
>QExplicitlySharedDataPointer would be suitable to use with a single
> class, but it still doesn't cope with implicit conversions between base
> and derived classes.

If an API returns a pointer, the caller should probably own it.

But the KTimeZone design sounds more like a value-based class instead, 
implicitly shared.

-- 
  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: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070707/edd10c6f/attachment.sig>


More information about the kde-core-devel mailing list