If you can reasonably conclude that a test is unnecessary (for instance, even machines with bytes larger than 8 bits are still required to have sizeof (char) be 1), you can omit the test entirely.
如果您确认某一个测试是没有必要的(例如,即使机器字节多于8位也仍需要使size of (char)为1),您可以完全不去进行这个测试。
If you can reasonably conclude that a test is unnecessary (for instance, even machines with bytes larger than 8 bits are still required to have sizeof (char) be 1), you can omit the test entirely.
如果您确认某一个测试是没有必要的(例如,即使机器字节多于8位也仍需要使size of (char)为1),您可以完全不去进行这个测试。
应用推荐