Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-07-16 07:05:25

On Tuesday 16 July 2002 13:17, Michael Stevens wrote:
> I believe it is true that if the expression (B in this case) is a
> container then direct assignment is safe; even if B is an alias for A.
> Similarly for vector proxies:
> v = row(B, 2)
> is always safe if B is a container.

No it's not since matrix_row does have shallow copy semantics !

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