Static Foreach + Marking "compile time" variables
Chris Katko
ckatko at gmail.com
Thu Mar 29 01:37:24 UTC 2018
On Wednesday, 28 March 2018 at 23:42:26 UTC, Simen Kjærås wrote:
> On Wednesday, 28 March 2018 at 23:02:53 UTC, Chris Katko wrote:
>
> There's many things that can be done to make the code easier to
> follow. These lines:
>> [...]
>
> [...]
WOW. Thank you. That's the kind of tricks for (or more properly:
knowledge of) templates that I can use. That's much more clean
looking and maintainable. Feel free to recommend more
ideas/tricks!
I'm still definitely working on improving (and developing) that
template/function so yeah, I left those duplicate static if's in
at the time (I called it "quits" after getting it to actually
compile, so there's still scribble in there.)
More information about the Digitalmars-d-learn
mailing list