Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: return value optimization on expression/meta templates

Reply
Thread Tools

Re: return value optimization on expression/meta templates

 
 
E. Robert Tisdale
Guest
Posts: n/a
 
      06-25-2003
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/li....cgi/oon-list/

and ask your question there.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zero Optimization and Sign Optimization??? Ravikiran C Programming 22 11-24-2008 03:19 AM
how to Specializations of function Templates or Overloading Function templates with Templates ? recover C++ 2 07-25-2006 02:55 AM
what value does lack of return or empty "return;" return Greenhorn C Programming 15 03-06-2005 08:19 PM
Templates templates templates JKop C++ 3 07-21-2004 11:44 AM
Q: Return value optimization thru several function calls? Denis Remezov C++ 20 04-20-2004 04:15 PM



Advertisments