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?


> On Tue, 20 Mar 2001, Joel Young wrote:
> jdy> lazy matrices and promises?
> jdy>
> jdy>

Boost list run by bdawes at, gregod at, cpdaniel at, john at