surprising semantics of the && expression
user1234
user1234 at 12.de
Tue Feb 3 17:29:05 UTC 2026
So yesterday someone oppened an issue:
https://github.com/dlang/dmd/issues/22500
Which was closed after accurate explanations of Ian. However I'd
like to know where this semantics are coming from. I suspect C++
? What is the history behind ?
Let's mention the POLA. The very basic human-being would expect
that both the LHS and RHS sub-expressions can be implictly
convertible to `bool`.
More information about the Digitalmars-d
mailing list