std.container.array - are these arrays passed by reference?
Harry P via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jul 30 14:05:24 PDT 2015
I'm trying to avoid the gc so I'm using std.container.array
arrays instead of the standard ones. I know the standard arrays
return by reference so I imagine that the nogc alternative is
also passed by reference because it'd be a struct with a pointer
and a length, yeah?
I just want to check in case I'm wrong...
More information about the Digitalmars-d-learn
mailing list