bool <=> int. WTF. (DIP0015)
Zoadian
no at no.no
Wed Jul 3 07:47:26 UTC 2019
On Tuesday, 2 July 2019 at 17:43:27 UTC, Les De Ridder wrote:
> On Tuesday, 2 July 2019 at 17:04:24 UTC, Jonathan M Davis wrote:
>> [...]
> Can we fix the implementation and the spec, then?
+1
Either make bool a real boolean type and disallow implicit
conversions, or make it a true 1-bit integer type that actually
behaves like all the other int types.
It's confusing as heck right now.
More information about the Digitalmars-d
mailing list