标准C允许使用需要引用自身的表达式初始化对象或变量,但只适用于非静态作用域的对象。
Standard C allows for the initialization of an object or variable with an expression involving a reference to itself, but only for objects of nonstatic extent.
这些属性的作用域是静态定义的。
静态函数与静态属性一样,作用域也是类而非该类的对象实例。
Static functions, like static properties, are scoped to the class rather than to object instances of that class.
应用程序响应和静态内容的有效生存期和作用域可能有所不同,与静态内容页相比,通常应用程序的生存期较短,作用域也较小。
The valid lifetime and scope of application responses and static content may differ, although applications typically have a shorter lifetime and smaller scope than static content pages.
尽管作用域都是静态定义,但它们都被动态的使用。
Although scopes are determined statically, they are used dynamically.
一般,得到工作于名字空间、函数、类作用域的优秀的静态断言要比多使用一个难看的宏要值得。
The general conclusion was that the good of a static assert working at namespace, function, and class scope outweighed the ugliness of a macro.
尽管作用域是静态定义,在使用时他们都是动态的。
Although scopes are determined statically, they are used dynamically.
尽管作用域是静态定义,在使用时他们都是动态的。
Although scopes are determined statically, they are used dynamically.
应用推荐