Non-D linkage with out and inout parameters.

Jeremie Pelletier jeremiep at gmail.com
Sun Mar 8 19:02:17 PDT 2009


Robert Fraser Wrote:

> I agree with the proposal, but for the optimization use case, use:
> SYSTEMTIME st = void;
> This won't initialize st to zero.

This is what I currently do but I would assume it's better suited for variables used in the current scope instead of passed as an out parameter to the next statement. So it would end up being just like doing "uint i = 0;", it works, but doing "uint i;" does the same.




More information about the Digitalmars-d mailing list