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

Per Nordlöw per.nordlow at gmail.com
Sun Aug 23 21:08:30 UTC 2020


Why aren't more operators allowed inside `is(...)`-expressions?

For instance

     if (!is(CommonType!(typeof(min), typeof(max)) == void))

could be written as

     if (is(CommonType!(typeof(min), typeof(max)) != void))

.


More information about the Digitalmars-d mailing list