Boost logo

Ublas :

Subject: Re: [ublas] [patch] Move Semantics for uBlas
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2009-09-16 17:42:51

Hello Nasos,

Am Tuesday 15 September 2009 schrieb Nasos Iliopoulos:
> In the test example (main.cpp) two tests are defined, one for vectors
> and one for matrices. The aim of this example is to print the
> pointers of the storage of each of the containers, before and after
> the assignment to a temporary object. When move semantics are
> enabled, the vector<T> and matrix<T> storage is moved from the
> temporary and no copy is performed.

Is there any special reason why you set some values of the result
vectors to zero? This way the output is quite surprising (and looks
like a bug.)