Notes from C++ static analysis

Walter Bright newshound2 at digitalmars.com
Wed Jun 26 15:46:47 PDT 2013


On 6/26/2013 11:08 AM, bearophile wrote:
> A simpler example:
>
> enum INPUT_VALUE = 2;
> void f(uint flags) {
>      if (flags | INPUT_VALUE) {}
> }
>
>
> I have just added it to Bugzilla:
> http://d.puremagic.com/issues/show_bug.cgi?id=10480

We've discussed this one before. I oppose it, on grounds I added to the 
enhancement request.


More information about the Digitalmars-d mailing list