Linus Torvalds writes: (Summary) Usually a byte, but I don't think
there is any guarantee of it at all.
there is any guarantee of it at all.
Use "bool" mainly as a return type from functions that return true/false, and maybe as local variables in functions. It's a tiny bit more typing, but it's very unambiguous what is going on, and you can specify the base type as you wish and as it makes sense for packing etc.
wish and as it makes sense for packing etc.
Linus
Linus
Linus
there is any guarantee of it at all.
Use "bool" mainly as a return type from functions that return true/false, and maybe as local variables in functions. It's a tiny bit more typing, but it's very unambiguous what is going on, and you can specify the base type as you wish and as it makes sense for packing etc.
wish and as it makes sense for packing etc.
Linus
Linus
Linus