Step 1: Create new namespace scope.
第1步:创建新的名称空间作用域。
The names defined in the library have namespace scope (7.3).
在标准库中定义的名字具有名字空间 作用 域(7.3)。
Finally, you must clean up after yourself by leaving the current namespace scope.
最后,在离开当前名称空间作用域之前,您必须自己做一些清理工作。
A template cannot be specialized at class scope, only in global or namespace scope.
模板无法在类范围被专用化,只能在全局或命名空间范围被专用化。
This namespace scope lets you organize code and gives you a way to create globally unique types.
此命名空间范围允许您组织代码并为您提供了创建全局唯一类型的方法。
If a member operator was found, the compiler would previously not consider any namespace scope operators.
以前在找到成员运算符以后,编译器便不再考虑任何命名空间范围运算符。
You can use Boost static assertions in a class, function, or namespace scope; you can also use them with templates.
您可以在类、函数或命名空间范围中使用Boost静态断言;还可以与模板一起使用它们。
If there is a better match at namespace scope, the current compiler will correctly call it, whereas previous compilers wouldn't consider it.
如果在命名空间范围内有更好的匹配,当前的编译器将对其进行正确的调用,而以前的编译器则不予以考虑。
Your resources should be defined at the cluster scope to avoid namespace pollution and keep resource definitions visible only in the servers where those resources are actually used.
为避免命名空间污染,应在集群范围定义您的资源,并保持资源定义仅在实际使用这些资源的服务器中可视。
One of the recent changes to the JNDI namespace is the ability to scope the resource definitions at various levels in the environment (server, cluster, node, or cell).
最近对JNDI命名空间的更改之一是能够在环境(服务器、集群、节点或计算单元)的各个级别上界定资源定义的范围。
Developers can use qualified names to refer to these elements using prefixes from the particular namespace declarations in scope.
通过使用来自相应范围内的特殊命名空间声明的前缀,开发人员就可以使用合格的名称来引用这些元素。
For example, a Tangosol Coherence scope can be used as follows, with the "datagrid" namespace provided by Tangosol and interface21.
比如,TangosolCoherence作用域可以像下面这样使用,通过Tangosol和Interface21提供的“datagrid”命名空间。
And we see how to specify that we wish to call the method in the global scope by just prefacing the call with the namespace operator.
并且我们看到如何指定以在全局空间内调用方法:只需使用名称空间操作符作为调用的前缀。
More complex type libraries can use this method to make types dependent on context and various parameters, such as base URIs and namespace prefixes in scope.
更复杂的类型库可以使用该方法建立依赖于上下文和不同参数的数据类型,如作用域中的基准URI和名称空间前缀。
Subsequent sections explore how the scope of a namespace impacts queries.
接下来的几个小节将探索名称空间的作用域对查询的影响。
In a psychotic document, two different prefixes are declared for the same namespace in the same scope.
在一篇发神经的文档中,同一作用域围内为同一名称空间声明了两个不同的前缀。
Use the NSStack class to track the scope of XML namespace declarations.
使用nsstack类跟踪XML名称空间声明的作用域。
NsStack: a data structure that implements a stack of namespace declarations that are currently in scope.
实现作用域内当前名称空间声明堆栈的数据结构。
Class definitions place yet another namespace in the local scope.
类定义也是局部作用域中的另一个命名空间。
When a class definition is entered, a new namespace is created, and used as the local scope — thus, all assignments to local variables go into this new namespace.
定义一个类的时候,会创建一个新的命名空间,将其作为局部作用域使用——因此,所以对局部变量的赋值都引入新的命名空间。
Outside functions, the local scope references the same namespace as the global scope: the module's namespace.
在函数之外,局部作用域与全局使用域引用同一命名空间:模块命名空间。
Outside of functions, the local scope references the same namespace as the global scope: the module's namespace.
在函数之外,局部作用域与全局使用域引用同一命名空间:模块命名空间。
When a class definition is entered a new namespace is created and used as the local scope - thus all assignments to local variables go into this new namespace.
当输入了一个类定义,一个新的名字空间被创建,并作为局部域使用——这样,所有对局部变量的赋值都将进入这个新的名字空间。
Outside functions the local scope references the same namespace as the global scope: the module's namespace.
在函数之外,局部作用域引用全局作用域相同的名字空间:模块的名字空间。
Namespace declarations have scope.
命名空间声明有范围。
Until that time, there is no knowledge of what namespace is in scope.
在此之前,并不知道范围中存在哪个命名空间。
A module is in scope throughout its namespace.
模块的范围贯穿其命名空间。
Specifies that the given, fully qualified namespace name is used within the open lexical scope.
指定在打开的词法范围内使用给定的、完全限定的命名空间名称。
This method looks up the prefix that is in scope for the given namespace.
此方法查找位于给定命名空间范围内的前缀。
The namespace will be used within all scopes that inherit from the currently open scope.
此命名空间将用于继承自当前打开的范围的所有范围。
应用推荐