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? ]
Subscribe to the Object-Oriented Numerics List
and ask your question there.
|All times are GMT. The time now is 02:24 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.