Boost logo

Ublas :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-28 06:24:35


Ian McCulloch <ianmcc_at_[hidden]> writes:

> David Abrahams wrote:
>
>> Yep, that calls for a noalias view that you can build around any
>> vector or matrix before passing it into a generic function.
>
> Ok, so that brings us back to something like is_noalias<T> metafunction.
> Once you give vectors and matrices an 'alias' attribute, whether or not
> there exists a concrete container type (as opposed to a view) that is
> 'noalias', becomes a minor detail? A user should be able to trivially
> write such a container, even if the lib does not provide one.

Sure.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com