update
This commit is contained in:
Binary file not shown.
BIN
basic_content/maohao/.README.md.un~
Normal file
BIN
basic_content/maohao/.README.md.un~
Normal file
Binary file not shown.
14
basic_content/maohao/README.md
Normal file
14
basic_content/maohao/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# :: 范围解析运算符那些事
|
||||
|
||||
## 关于作者:
|
||||
|
||||
个人公众号:
|
||||
|
||||

|
||||
|
||||
- 全局作用域符(::name):用于类型名称(类、类成员、成员函数、变量等)前,表示作用域为全局命名空间
|
||||
- 类作用域符(class::name):用于表示指定类型的作用域范围是具体某个类的
|
||||
- 命名空间作用域符(namespace::name):用于表示指定类型的作用域范围是具体某个命名空间的
|
||||
|
||||
具体代码见:[maohao.cpp](maohao.cpp)
|
||||
|
Reference in New Issue
Block a user