bool <=> int. WTF. (DIP0015)

Paul Backus snarwin at gmail.com
Thu Jul 4 15:51:19 UTC 2019


On Thursday, 4 July 2019 at 15:30:59 UTC, wjoe wrote:
> This is completely predictable unlike the bool b = void; can be 
> true and false at the same time.

Accessing an uninitialized variable results in undefined 
behavior. There's nothing special about bool here.


More information about the Digitalmars-d mailing list