
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/03/2010 04:47 PM, Peter Dimov wrote:
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?
Consider something like [...]
Thanks, but I can't relate any of that to the reason for my question, which was whether the compiler would somehow magically use emulated move semantics if I just included Boost.Move in the code, without calling the boost::move function on the return values. I think I've proven that it wouldn't, and that the boost::move call is required to reap any benefit from emulated move semantics. - -- 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/ iEYEARECAAYFAkvfTvUACgkQp9x9jeZ9/wQoHQCfbrKGlR9FmpWGqy6BgGAZ4bUU WnkAnj/5xtmx9JnfOpB3qri9XphBLY5V =g1q3 -----END PGP SIGNATURE-----