I can\'t find an answer in the standard do开发者_开发知识库cumentation. Does the C++ language standard require sizeof(bool) to always be 1 (for 1 byte), or is this size implementation-defined?sizeof(b
What is undefined behavior (UB) in C and C++?What about unspecified behavior and implementa开发者_如何学运维tion-defined behavior?What is the difference between them?Undefined behavior is one of those