静态断言(Static assertions),_Static_assert(),在解释 #if 和 #error 之后被处理。
基于38个网页-相关网页
static assertions
静态断言
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Behavior of Boost static assertions.
Boost静态断言的行为。
youdao
In addition, static assertions don't generate any code.
此外,静态断言不生成任何代码。
Static assertions build on this basic concept, except that static assertions are valid only at compile time.
静态断言建立在这个基本概念之上,只不过静态断言仅在编译时有效。
应用推荐
模块上移
模块下移
不移动