Update README.md

This commit is contained in:
xliu79 2020-07-20 10:08:07 +08:00 committed by GitHub
parent 8ab626f557
commit 93faa13d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,13 @@
# :: 范围解析运算符那些事
# :: Story about range resolution operators
## 关于作者
## Abput Author
个人公众号:
![](../img/wechat.jpg)
- 全局作用域符(::name用于类型名称类、类成员、成员函数、变量等表示作用域为全局命名空间
- 类作用域符class::name用于表示指定类型的作用域范围是具体某个类的
- 命名空间作用域符namespace::name:用于表示指定类型的作用域范围是具体某个命名空间的
- Global scope::nameUsed before a type name (class, class member, member function, variable, etc.), indicates that the scope is a global namespace
- Class scopeclass::nameThe scope used to represent the specified type is class specific
- Namespace scopenamespace::name: The scope used to represent the specified type is a namespace specific
具体代码见[maohao.cpp](maohao.cpp)
Code [maohao.cpp](maohao.cpp)