by marcosdumay · 3y ago · 0 comments
I'm quite confident the compiler will optimize that test-and-move away as soon as you use the bool for something, giving you the same assembly as a last century's `typedef bool int`.
The upcoming C23 standard will define "bool" as a keyword.