Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-07 16:11:35


Jonathan Turkanis wrote:

>> I'm pretty proud to tell you that there is no tempories at all.
>> Except copying references to arguments before assigning or
>> evaluation. But it cost almost nothing and can be greatly optimized.
>
> I think Gennadiy is including temporaries that can result if you
> return an expression from a function, i.e., the kind of temporaries
> that can often be eliminated with move semantics.

This didn't come out right; expression templates can help with this too. Still,
combining move semantics and expression templates could be very powerful.

Jonathan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk