Deprecate implicit `int` to `bool` conversion for integer literals

Michael V. Franklin slavo5150 at yahoo.com
Tue Nov 14 23:05:51 UTC 2017


On Tuesday, 14 November 2017 at 13:54:03 UTC, Steven 
Schveighoffer wrote:

> IMO, no character types should implicitly convert from integer 
> types. In fact, character types shouldn't convert from ANYTHING 
> (even other character types). We have so many problems with 
> this.

Is everyone in general agreement on this?  Can anyone think of a 
compelling use case?

Mike




More information about the Digitalmars-d mailing list