Choosing an Approach for the Template Lowering of _d_arrayctor

Stanislav Blinov stanislav.blinov at gmail.com
Thu Nov 25 14:24:59 UTC 2021


On Thursday, 25 November 2021 at 13:28:18 UTC, Teodor Dutu wrote:

> A third approach, which I call the **hack** approach, is very 
> close to the one using the template. The difference is that the 
> hack adds a third, unused, pointer-type parameter...

Hm... if you're going to have a pointer parameter, why not 
instead simply keep the two parameter variant but pass the first 
parameter by reference?


More information about the Digitalmars-d mailing list