Vectors and matrices in D
Jascha Wetzel
"[firstname]" at mainia.de
Thu Mar 15 12:57:10 PDT 2007
;)
maybe we could have an additional "inref" modifier. on the other hand
"out" doesn't force write-only either, atm.
therefore i think having a way to return references/lvalues is more
important on that front.
i'd really like to do matrix[row,col] += bla;
Frits van Bommel wrote:
> Jascha Wetzel wrote:
>> ok, the const part is missing, but the performance part can be dealt
>> with. maybe "const inout" is a worthwhile feature for future D versions.
>> it should have a less contradictory name, though.
>
> Hey, no fair correcting yourself before I finish my post! ;)
>
> Seriously: as I mentioned in my post there was some discussion a while
> back about adding this sort of stuff, but so far nothing concrete has
> shown up.
More information about the Digitalmars-d-learn
mailing list