constructing labels for static foreach inside switch inside foreach

Stanislav Blinov stanislav.blinov at gmail.com
Wed Jul 8 10:13:13 UTC 2020


On Wednesday, 8 July 2020 at 02:06:01 UTC, Steven Schveighoffer 
wrote:

> Seems simple enough, except that this inner portion is 
> unrolled, and if I have more than one type to run this on, I 
> already have an "innerloop" label defined.
>
> Is there a way to define a label using a mixin or something? or 
> do I have to wrap this in a function?
>
> Is there another way to approach this?

Can't you put a single label after your outer foreach and goto it?


More information about the Digitalmars-d-learn mailing list