More operators inside `is(...)` expressions

Ogi ogion.art at gmail.com
Tue Sep 1 19:00:48 UTC 2020


On Tuesday, 1 September 2020 at 16:29:57 UTC, Andrei Alexandrescu 
wrote:
>
> So for the or we have something like:
>
> version(a) version = a_or_b;
> else version(b) version = a_or_b;
>
> Not too bad if you don't have many. And if you do:
>
> https://run.dlang.io/is/CZ5B6z
>
> I'll see myself out.

Why stop on `a` and `b` though?

https://run.dlang.io/is/u1GuZs


More information about the Digitalmars-d mailing list