DIP 1015--Deprecation of Implicit Conversion of Int. & Char. Literals to bool--Formal Assement

Isaac S. spam-no-reply-isaac at outlook.com
Wed Nov 14 02:53:26 UTC 2018


On Wednesday, 14 November 2018 at 02:45:38 UTC, Walter Bright 
wrote:
> In your articles, it is crucial to understand the difference 
> between a manifest constant of type `int` and one of type `A`.

Still doesn't change the fact that a typed enum should convert to 
its own type first (rather than blindly using the literal).


More information about the Digitalmars-d-announce mailing list