Boost logo

Ublas :

From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2005-02-11 05:35:50

Michael Stevens wrote:

>I am a bit confused regarding the new 'remove_const' logic in "triangular"
>however. I have a couple of questions regarding this.
>a) Why is it necessary? I don't see how the 'const'ness of M can prorogate
>into _temporary_type.
>If is is necessary
>b) Is it only necessary for traingular_adaptors?
>c) Should it not go into "temporary.hpp"
>I have merged and committed leaving in the 'remove_const'

The remove_const is required when M is a const type. For const types the
temporary_traits are not defined.