Boost logo

Ublas :

From: Michael Stevens (mail_at_[hidden])
Date: 2005-07-06 13:51:01


Jon,
> > I think a change would be reasonable. I certainly don't rely on this
> > behaviour.
> >
> > We could effect such a by using:
> > if (this != &all_)
> >
> > In this case only the explicit use of all() would break your invariant.
>
> If nobody else objects, might you possibly have a chance to make this
> change in the UBlas CVS repository?
>
> Thank you again

Since no one objected and I see the broken semantics as a bug I have
committed the fix as suggested. Same applies for basic_range, basic_slice and
indirect_array.

The changes as minor. Can you test it matches what you expect?

Michael

-- 
___________________________________
Michael Stevens Systems Engineering
34128 Kassel, Germany
Phone/Fax: +49 561 5218038
Navigation Systems, Estimation  and
                 Bayesian Filtering
    http://bayesclasses.sf.net
___________________________________