|
Boost : |
Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-03 13:42:29
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/03/2010 12:55 PM, Stewart, Robert wrote:
>> I was trying to use it to reduce the copying that is otherwise
>> necessary when returning values (and not using copy-on-write). I
>> think that's its intended use.
>
> You may be missing an important aspect: reusing temporaries. [...]
> I recall that you did mention multiplication as a case where that
> couldn't be done because the product would be larger than the
> multiplicands, though obviously not if either is 1 or 0, so this
> aspect may not have eluded you. Nevertheless, I wanted to be sure
> you understood the difference.
I'm starting to. Move semantics are still new to me.
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkvfCwUACgkQp9x9jeZ9/wRw1gCfb5DLCz558Rd5eDRwSdxLJyzJ
oDwAn29qUV0TkkBIl16WQdrikl8O41Gf
=gc9X
-----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