Boost logo

Boost :

From: Joel Young (jdy_at_[hidden])
Date: 2001-03-20 09:57:38


Jeremy Siek wrote:
> These lazy matrices sound and aweful lot like expression
> templates. Is there any real difference?

I think so. I just looked at these briefly yesterday, but if I
understand what Oleg is saying, the promise will only get evaluated when
it is needed, which might be later than the expression in which it
occurs. The idea seems to be that passing promises around is cheaper
than matrices.

Perhaps the expression template could build, under some circumstances,
a promise rather than an actual result?

Joel

> On Tue, 20 Mar 2001, Joel Young wrote:
> jdy> lazy matrices and promises?
> jdy>
> jdy> http://www.lh.com/~oleg/ftp/c++-digest/more_promises.txt


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk