The exact wording from the C++ standard is (§4.7/4): "If the source type is bool, the value false is converted to zero and the value true is ...
stackoverflow.com