DRAFT document on coding conventions in kde libraries

Thiago Macieira thiago at kde.org
Wed Mar 8 14:53:30 GMT 2006


Kuba Ober wrote:
>Couldn't there be a template pointer class that does the right thing on
>assignment, though? After all, if the instance of such a pointer class
> was a member of the implicitly shared class, its copy constructor
> and/or operator= would be used correctly, or was there a special reason
> for not doing it that way?

QSharedData, QSharedDataPointer

That's for implicitly shared data

There's no equivalent to explicitly shared data.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

3. Ac seo woruld wearð geborod, swá se Scieppend cwæð "Gewurde Unix" and 
wundor fremede and him "Unix" genemned, þæt is se rihtendgesamnung.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060308/ed8c8be3/attachment.sig>


More information about the kde-core-devel mailing list