expand

Expand Static array into a parameter arguments (AliasSeq!).

Members

Aliases

expand
alias expand = delay
Undocumented in source.
expand
alias expand = AliasSeq!(delay, expand!(array, idx + 1))
Undocumented in source.

Properties

delay
ref delay [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Examples

static void foo(int a, int b, int c) {
	version (show) {
		import std.stdio: writefln;
		writefln("a: %s, b: %s, c: %s", a, b, c);
	}
}
int[3] arr = [1, 2, 3];
foo(expand!arr);

See Also

Meta