implicit conversion from bool to char, is it really necessary ?
deadalnix
deadalnix at gmail.com
Wed Sep 26 03:12:10 PDT 2012
Le 26/09/2012 08:43, Brad Roberts a écrit :
> On 9/25/2012 12:24 PM, bearophile wrote:
>> a common source of bugs. So...
>
> Out of curiosity, what's your working definition of 'common' here? It seems to be something not far from "I've seen a
> report of it happening in more than one code base" which is overly broad, imho.
>
> I'm all for identifying classes of bugs and seeing what it might take to eliminate them, but there's a line where too
> much compiler 'help' is just annoying.
I do the mistake quite often myself. Usually fixed as fast as it is done
because I know this is a tricky stuff.
I guess bearophile noticed the same.
More information about the Digitalmars-d
mailing list