Re: return value optimization on expression/meta templates



 DEVELOP > c-Plus-Plus > Re: return value optimization on expression/meta templates

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1
Topic: DEVELOP > c-Plus-Plus
User: "E. Robert Tisdale"
Date: 24 Jun 2003 11:54:17 PM
Object: Re: return value optimization on expression/meta templates
Olaf Petzold wrote:

I'm writing tvmet, a linear algebra library using expression and meta
templates. ...

Unfortunately chaining (e.g. Matrix=product(product(transpose(Matrix),
Matrix), Matrix)) expressions will go into wrong, or partially wrong
results due to using return value optimizations. It takes memory
regions where the evaluated results where before.

[ What's the problem? ]

Hi Olaf,
Subscribe to the Object-Oriented Numerics List
http://www.oonumerics.org/mailman/listinfo.cgi/oon-list/
and ask your question there.
.

 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER