On Tuesday, 11 February 2020 at 19:04:17 UTC, Paul Backus wrote:
On Tuesday, 11 February 2020 at 18:55:45 UTC, wjoe wrote:
What's a compiler list... is that something like a tuple? or more like a macro expansion? Or is it only valid to use in a foreach to take advantage of each item individually and for expansion in a function call ?
Is it possible to partially expand like:

void fn(int, uint) {}
and ARGS(string, int, uint)
and call fn(args[1..$]);

Is that possible?

This article answers all of your questions:

https://dlang.org/articles/ctarguments.html

That's more information than I had hoped for. Thank you :)

Reply via email to