DRAFT document on coding conventions in kde libraries
Thiago Macieira
thiago at kde.org
Mon Mar 6 15:40:48 GMT 2006
Kuba Ober wrote:
>QAtomic does not implement a copy constructor and operator= that
>would do the right thing?! Maybe then one should have KAtomic that
>would be more sane to use . . . Is there a good reason for QAtomic
>to be broken like that (if that's indeed the case)?
You should take a look at qAtomicAssign first.
It's not possible to do what you're describing with a copy constructor or
operator=.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
-------------- 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/20060306/7f93d260/attachment.sig>
More information about the kde-core-devel
mailing list