Step 1: Create new namespace scope.
第1步:创建新的名称空间作用域。
You can use Boost static assertions in a class, function, or namespace scope; you can also use them with templates.
您可以在类、函数或命名空间范围中使用Boost静态断言;还可以与模板一起使用它们。
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.
以前在找到成员运算符以后,编译器便不再考虑任何命名空间范围运算符。
If there is a better match at namespace scope, the current compiler will correctly call it, whereas previous compilers wouldn't consider it.
如果在命名空间范围内有更好的匹配,当前的编译器将对其进行正确的调用,而以前的编译器则不予以考虑。
If there is a better match at namespace scope, the current compiler will correctly call it, whereas previous compilers wouldn't consider it.
如果在命名空间范围内有更好的匹配,当前的编译器将对其进行正确的调用,而以前的编译器则不予以考虑。
应用推荐