DIP11: Automatic downloading of libraries
Adam Ruppe
destructionator at gmail.com
Mon Jun 20 05:56:33 PDT 2011
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.
More information about the Digitalmars-d
mailing list