Sciweavers

ADAEUROPE
2001
Springer

Expression Templates in Ada

13 years 9 months ago
Expression Templates in Ada
High-order matrix or vector expressions tend to be penalized by the use of huge temporary variables. Expression templates is a C++ technique which can be used to avoid these temporaries, in a way that is transparent to the user. We present an Ada adaptation of this technique which — while not transparent — addresses the same efficiency issue as the original. We make intensive use of the signature idiom to combine packages together, and discuss its importance in generic programming. Finally, we express some concerns about generic programming in Ada.
Alexandre Duret-Lutz
Added 28 Jul 2010
Updated 28 Jul 2010
Type Conference
Year 2001
Where ADAEUROPE
Authors Alexandre Duret-Lutz
Comments (0)