From: Michael Lacher (michael.lacher_at_[hidden])
Date: 2007-04-05 04:33:21
David Abrahams wrote:
> on Mon Apr 02 2007, "Eric Lemings" <lemings-AT-roguewave.com> wrote:
>> Expression templates sound very interesting. Could you give a quick
>> summary or a link perhaps?
> This is the canonical source:
Hmm, isnt that just boost::lambda? I haven't used boost::lambda much
yet, and i am not really proficient in functional programmign either,
but could not the example form the page above:
DExpr<DExprIdentity> x; // Placeholder
evaluate(x/(1.0+x), 0.0, 10.0);
be written in boost:lambda as follows ?
evaluate(_1/(1.0+_1), 0.0, 10.0);
If yes, what exactly can expression templates do that boost lambda cannot ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk