Boost logo

Ublas :

From: Dima Sorkin (dsorkin_at_[hidden])
Date: 2008-06-01 09:00:26


Quoting Dima Sorkin <dsorkin_at_[hidden]>:
> uBLAS is not always used with built in scalars (int,double,complex etc).
> Some applications may have "scalars" with non-trivial default constructor,
> or even with private default constructor.
> In such cases initialization before copying can be costly or impossible.
My mistake. Copy constructor of array_adaptor does "redundant" initialization
too. I thought it reuses ideas like 'placement new'.

Regards,
  Dima.