On 06/24/2013 07:20 AM, Marco Leise wrote:
Am Sun, 23 Jun 2013 17:50:01 -0700
schrieb Jonathan M Davis <jmdavisp...@gmx.com>:

I don't think that we even succeeded at coming close to
convincing Walter that _bool_ isn't an integral type and shouldn't be treated
as such (when it was discussed right before deconf), and that should be a far
more clearcut case.

- Jonathan M Davis

You can take bool to int promotion out of my...

// best way to toggle forth and back between 0 and 1. "!" returns a bool.
value = !value


value^=1

// don't ask, I've seen this :)
arr[someBool]

// sometimes the bool has just the value you need
length -= boolRemoveTerminator


Reply via email to