On 08/19/2010 10:51 AM, Paolo Bonzini wrote:
_Bool can have values of 0 or 1, so all of the above should actually
work.
Yes, I'd like to rule those out even though they work, because I find
them confusing. The compiler is smart enough to generate the same
code in both cases.
One problem with coding styles is that people think they replace common
sense. They don't, you shouldn't write ++x when you aren't counting
even if there is no explicit rule in coding style forbidding it.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.