On Sunday, 12 November 2017 at 16:04:59 UTC, Temtaime wrote:
There's no force change. if explicitly converts cond to bool.
Yes, but that is a flaw IMO. E.g. NaN will convert to true.
Ola Fosheim Grøstad via Digitalmars-d Sun, 12 Nov 2017 09:05:47 -0800
On Sunday, 12 November 2017 at 16:04:59 UTC, Temtaime wrote:
There's no force change. if explicitly converts cond to bool.
Yes, but that is a flaw IMO. E.g. NaN will convert to true.