static assertions的意思|示意

美 / / 英 / /

静态断言


static assertions的网络常见释义

静态断言 静态断言(Static assertions),_Static_assert(),在解释 #if 和 #error 之后被处理。

static assertions相关例句

Assumptions are similar to assertions at runtime, but differ during static verification.

假定与运行时断言相似,不同之处在于静态检验的方式。

Static assertions build on this basic concept, except that static assertions are valid only at compile time.

静态断言建立在这个基本概念之上,只不过静态断言仅在编译时有效。

While using static assertions, always remember that the expression being checked must be evaluable at compile time.

一定要记住,在使用静态断言时,检查的表达式在编译时必须是可计算的。

In addition, static assertions don't generate any code.

此外,静态断言不生成任何代码。

You can use static assertions in global scope and inside namespaces, function bodies, or class declarations.

可以在全局范围以及在名称空间、函数体或类声明内使用静态断言。

Behavior of Boost static assertions.

Boost静态断言的行为。