Another interesting hack: expand a static array into parameter arguments

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Apr 3 02:01:28 PDT 2014


On 4/2/14, Simen Kjærås <simen.kjaras at gmail.com> wrote:
> In fact, it does not even need to have arg and idx explicitly passed,
> and the alias for Array is redundant.

Nice! I recall trying to use .length before but I've had some CT
errors. It was probs my fault.



More information about the Digitalmars-d mailing list