Static foreach bug?

bauss jj_1337 at live.dk
Mon Sep 3 04:43:30 UTC 2018


On Sunday, 2 September 2018 at 20:01:08 UTC, Neia Neutuladh wrote:
> On Sunday, 2 September 2018 at 19:42:20 UTC, bauss wrote:
>> Woud be so much more maintainable if I could have each 
>> statement into a variable that could be maintained properly.
>
> You could extract the body of the static foreach into a 
> [template] function.

I'm aware of that, but it's an unnecessary work around for 
something as trivial as the alternative would have been.


More information about the Digitalmars-d mailing list