Skip to content

Commit

Permalink
添加"继承体系"
Browse files Browse the repository at this point in the history
  • Loading branch information
arkingc committed Jun 3, 2019
1 parent 6944171 commit b0f79d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions C++/C++Primer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1553,10 +1553,11 @@ f2(a); //a转换成int再转换成long double,还是转换成double再转换

```c++
class Bulk_quote : public Quote [, ...] {
...
};
```
如果单继承(只继承一个基类),则没有`[, ...]`部分
如果是单继承(只继承一个基类),则没有`[, ...]`部分
## 1.虚函数
Expand Down Expand Up @@ -1784,7 +1785,7 @@ private:
只能为那些能访问的(如:不管哪种继承,基类中的private成员都不能访问)名字提供using声明。​​using可以将”直接“或”间接“基类中的任何可访问成员标记出来,声明中名字的访问权限由using声明语句前的访问说明符决定
* [using与继承中的函数重载](#62-名字继承与冲突)
* [using与继承中的函数重载](#72-名字继承与冲突)
* [using与构造函数](#2继承的构造函数)
<br>
Expand Down

0 comments on commit b0f79d8

Please sign in to comment.