|
Boost : |
Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-03-27 00:24:44
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>> This disables the copy-on-write optimization that the library uses by
>> default [...]
>
> I'm not convinced that integers should be COW. What situations do you
> forsee where COW would be helpful but move semantics wouldn't suffice?
As described on the rationale page of the documentation, the primary
reason I'm using copy-on-write is that move semantics aren't widely
available yet. Portability is one of my primary goals, and while I've
seen references to a move-semantics-emulator in Boost, I've also seen
suggestions that it relies on the compiler to somehow recognize it. That
doesn't sound fully portable to me.
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkutiIsACgkQp9x9jeZ9/wQhngCdEsfZVM2akyS+mY8BS9utOHmE
TaQAoIItLKnFEaIVEhCc6JZyWKah66hV
=1izb
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk