Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-03 14:11:37
-----BEGIN PGP SIGNED MESSAGE-----
On 05/03/2010 01:45 PM, Jeffrey Lee Hellrung, Jr. wrote:
>>> And I wonder about "return BOOST_XINT_MOVE(p);" instead of
>>> "return p;" and let the compiler optimise the return via NRVO...
>> Does NRVO work with emulated move semantics? I was under the
>> impression that it couldn't, but I could well be wrong, Boost.Move
>> is new to me.
> RVO works independently of (emulated) move semantics. [...] One of
> the main things (emulated) move semantics gives you is the ability to
> overload functions on lvalue or (emulated) rvalue reference, giving
> you the opportunity to capture temporaries and pilfer/reuse their
If that's the case, and GCC is doing that as it should, why would adding
move semantics to the library provide any speed increase at all?
Oak Circle Software, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----