From 93faa13d7bda9c615d7325c8afd2cc95e875afc8 Mon Sep 17 00:00:00 2001 From: xliu79 <31554245+xliu79@users.noreply.github.com> Date: Mon, 20 Jul 2020 10:08:07 +0800 Subject: [PATCH] Update README.md --- english/basic_content/maohao/README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/english/basic_content/maohao/README.md b/english/basic_content/maohao/README.md index d78b3e5..b7b2b34 100644 --- a/english/basic_content/maohao/README.md +++ b/english/basic_content/maohao/README.md @@ -1,14 +1,13 @@ -# :: 范围解析运算符那些事 +# :: Story about range resolution operators -## 关于作者: +## Abput Author: -个人公众号: ![](../img/wechat.jpg) -- 全局作用域符(::name):用于类型名称(类、类成员、成员函数、变量等)前,表示作用域为全局命名空间 -- 类作用域符(class::name):用于表示指定类型的作用域范围是具体某个类的 -- 命名空间作用域符(namespace::name):用于表示指定类型的作用域范围是具体某个命名空间的 +- Global scope(::name):Used before a type name (class, class member, member function, variable, etc.), indicates that the scope is a global namespace +- Class scope(class::name):The scope used to represent the specified type is class specific +- Namespace scope(namespace::name): The scope used to represent the specified type is a namespace specific -具体代码见:[maohao.cpp](maohao.cpp) +Code :[maohao.cpp](maohao.cpp)