Function compound

Returns a Compound consisting of args

Compound!T compound(T...) (
  T args
);

Example

auto c = compound(true, 0.5f, "hello");
assert(c[0] == true);
assert(c[1] == 0.5f);
assert(c[2] == "hello");