經安全檢測,此網站為安全網站,請放心前往原始網址!

boolean - Can I assume (bool)true == (int)1 for any C++ compiler ...

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

網址安全性掃描由 google 提供