Vectors and matrices in D

Jascha Wetzel "[firstname]" at mainia.de
Thu Mar 15 12:19:32 PDT 2007


Bill Baxter wrote:
> The main problem is that passing big structs by value as parameters is
> kind of slow.  And it's something you want a lot.  In C++ you'd use
> const& Vector for the argument types, but in D there's no equivalent.

what about inout? it does exactly that.
DMD will even pass single inout arguments in a register.


More information about the Digitalmars-d-learn mailing list