
11 Aug
2011
11 Aug
'11
6:25 p.m.
On Thu, Aug 11, 2011 at 3:11 PM, Eric Niebler <eric@boostpro.com> wrote:
On 8/11/2011 10:50 AM, John Maddock wrote:
[snip]
Now imagine that one of the variables isn't a variable at all, but a temporary, lets say the result of a (non-protoized) function call:
a = x * y + foo() * z
If proto supported rvalue references then a could reuse foo()'s temporary resources and maybe avoid dynamic allocation for a. [snip]
-- Eric Niebler BoostPro Computing http://www.boostpro.com
Regards, -- Felipe Magno de Almeida