Boost logo

Ublas :

From: Dima Sorkin (dsorkin_at_[hidden])
Date: 2005-08-26 06:48:52


Hi.
 Following the message of Vardan in this subject.
Noncopyability of carray_adaptor.

see this example of one of the previous messages in the list :
 double d[3];
 shallow_array_adaptor<double> shared(3, d);
 vector<double, shallow_array_adaptor<double> > shared_vec(3, shared);

This will not work with carray_adaptor, because copy constructor of it
is used when constructing the "shared_vec" .

Regards,
 Dima.