On Fri, 2009-10-23 at 14:58 +0100, Brian Gough wrote: > > I think this is an interesting example. How would these two classes > work in practice in C? For example, how would one pass a non-const > matrix (taken as a view of a non-const multi-array) to a function > taking a const matrix argument. Dealing with the interaction between > const and non-const arguments is a fundamental issue. > The challenge for any scheme is getting reasonable const behavior in > C. If that problem can be solved better then everything else follows > more easily. Ok. The attachment is the obvious solution. I don't want to have theological wars about this, but it seems to me like it is the "C way". Let's debate. -- G. Jungman