How to return a reference to structs?

data pulverizer data.pulverizer at gmail.com
Sat Nov 6 10:30:38 UTC 2021


Hi,

It looks to me like `A*[]` would require extra allocation of 
memory and `ref` would not, am I wrong? If so it may be something 
to consider if relevant for your application.

Thanks.



More information about the Digitalmars-d-learn mailing list