Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2005-06-30 04:49:24


On Wednesday 29 June 2005 23:58, Michael Stevens wrote:
> Dear All,
>
> Does anyone know why the vector/matrix_expression class requires Default
> Constructable?

Because the derived types vector and matrix use it? Having a
container_expression type as base type would avoid this. BTW there is no
constructor in matrix_expression and only protected constructors in
ublas_expression.

Another remark:
What do you think about moving ublas_expression and scalar_expression out off
vector_expression.hpp into a new header (detail/ublas_expression.hpp or
scalar_expression.hpp).

mfg
Gunter