3 ms·
Seems like the only reason you'd expect it to be 1 << 5 is that you've been working with a broken definition of bool using #define. In any sane language you ca
by skybrian 13y ago
Seems like the only reason you'd expect it to be 1 << 5 is that you've been working with a broken definition of bool using #define.
In any sane language you can't redefine bool that way, nobody would ever expect bool to take more than two values, and there wouldn't be a problem.