11.07.2015 Views

Understanding C++ Expression Templates - Angelika Langer

Understanding C++ Expression Templates - Angelika Langer

Understanding C++ Expression Templates - Angelika Langer

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

31InterpretationExprT2 ExprT1 Literaltmp2 =BinaryExpr ( tmp1 , 3.0 )eval( (v+2) * 3.0 )© Copyright 1995-2000 by <strong>Angelika</strong> <strong>Langer</strong>. All Rights Reserved.http://www.<strong>Angelika</strong><strong>Langer</strong>.com(61)last update: 11/7/2005 ,21:37Interpretationx2.0Variable(x).evaleval()+ Literal(2).evaleval()3.0tmp3 = tmp2.eval() = tmp1.evaleval()* Literal(3.0).evaleval()eval( (v+2) * 3.0 )© Copyright 1995-2000 by <strong>Angelika</strong> <strong>Langer</strong>. All Rights Reserved.http://www.<strong>Angelika</strong><strong>Langer</strong>.com(62)last update: 11/7/2005 ,21:37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!