
Pavel Chikulaev wrote:
"Gennadiy Rozental" <gennadiy.rozental@thomson.com> wrote in message news:d0iaq7$gjl$1@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