We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3b28d1 commit 5c88174Copy full SHA for 5c88174
_posts/2015-06-24-cpp-static-and-const-member.md
@@ -100,5 +100,3 @@ char& operator[](size_t pos){
100
1. `*this`的类型是`TextBlock`,先把它强制隐式转换为`const TextBlock`,这样我们才能调用那个常量方法。
101
2. 调用`operator[](size_t) const`,得到的返回值类型为`const char&`。
102
3. 把返回值去掉`const`属性,得到类型为`char&`的返回值。
103
-
104
-详情见:[Effective C++ 笔记](/2014/05/04/effective-cpp.html)
0 commit comments