M
MathWizard
Hi all,
I was wondering how the cast from bool to an integer is defined. I guess
that 'false' always leads to '0', but I'm not sure that 'true' always
leads to '1'. Is it possible that 'true' casts tot something like
'non-zero' and thus can take any positive value?
Jeroen
I was wondering how the cast from bool to an integer is defined. I guess
that 'false' always leads to '0', but I'm not sure that 'true' always
leads to '1'. Is it possible that 'true' casts tot something like
'non-zero' and thus can take any positive value?
Jeroen