Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-07 15:44:41


Pavel Chikulaev wrote:
> "Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> wrote in message
> news:d0iaq7$gjl$1_at_sea.gmane.org...
>> Patience my friend. Do you think people seat and wait for new
>> proposals to discuss? Everybody have their own priorities. Some
>> people read ML only sporadically. It may take while.
>
> Thanks. I'll wait.
>
>> Meanwhile it seems (at least IMHO) that you
>> could read archive on long (very long in fact) history of
>> discussions on lazy evaluation for both temporary elimination and in
>> application to expression templates. You may be interested in: mojo,
>> zetu, FP++, several posts by Dave Abrahams on the topic. I believe
>> Andrej has an article online also. We have already libs for matrix
>> operation and Dave A. I know works in this direction also.
>
> 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.

Jonathan


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