Jacob Carlborg wrote:
> I had no idea that you could do that. It seems somewhat complicated
> and like a hack.

There's nothing really hacky about that - it's a defined and fairly
complete part of the language.

It's simpler than it looks too... the syntax is slightly long, but
conceptually, you're just looping over an array of members.

Combined with the stuff in std.traits to make it a little simpler,
there's lots of nice stuff you can do in there.

Reply via email to