... compile time check 编译时检查 compile time constant 编译时常数 compile time diagnostics 编译时诊断 ...
基于4个网页-相关网页
When initializing a named attribute argument, the value must be a compile time constant.
初始化具名的属性引数时,值必须是编译时期常数。
GCC provides a built-in function that you can use to determine whether a value is a constant at compile-time.
在编译时,可以使用GCC提供的一个内置函数判断一个值是否是常量。
The standardese way of looking at things is simply that the value you supply as a template argument must be a constant known at compile time.
standardese看待事物的方式是,您提供作为一个模板参数的值必须在编译时是已知常数。
应用推荐