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

Dennis dkorpel at
Sun Aug 23 22:25:19 UTC 2020

On Sunday, 23 August 2020 at 22:17:49 UTC, Steven Schveighoffer 
> BTW, what I would propose is that the following case be added 
> as an is Expression:
> is(Type != TypeSpecialization)
> As syntax sugar for:
> !is(Type == TypeSpecialization)
> And no other forms using != are valid.

In that case the unclear `is(int != T, T)` case does not apply 
anymore. But that would only expand the (already confusing) list 
of is-expression forms with another special case.

More information about the Digitalmars-d mailing list