Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2005-06-12 13:51:43


Am Sonntag, 12. Juni 2005 18:41 schrieb christopher diggins:
> I mentioned this before, and I'll say it again: A straightforward
> implementation of += and -= is not affected by aliasing. This is
> trivial to fix. I find it unacceptable that the library can not do
> such a simple task correctly.

Not for all types: For example

r1 = project( x, range(0,4) )
r2 = project( x, range(2,6) )

r1 += r2 and r2 += r1 have both aliasing and should be evaluated in
different directions.

mfg
Gunter