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

Neia Neutuladh neia at ikeran.org
Mon Nov 12 19:49:20 UTC 2018


On Mon, 12 Nov 2018 14:10:42 -0500, Steven Schveighoffer wrote:
> But it's not consistent:

And std.traits.isIntegral has not considered bools integral since its 
initial creation in 2007. Both Walter and Andrei have mucked about with 
that code and saw no reason to change it, even in wild and lawless days 
without deprecation cycles or DIPs. Andrei added a doc comment to 
explicitly note that bools and character types aren't considered integral 
back in 2009.


More information about the Digitalmars-d-announce mailing list