Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

アクセス指定子の説明の違和感 #80

Open
yumetodo opened this issue Nov 27, 2020 · 0 comments
Open

アクセス指定子の説明の違和感 #80

yumetodo opened this issue Nov 27, 2020 · 0 comments

Comments

@yumetodo
Copy link
Contributor

そもそもなんで継承の説明のところにアクセス指定子の話がいるのか見当もつかないのですがそれはさておき。
https://rinatz.github.io/cpp-book/ch07-03-inheritance/

image

この表の意図が理解できません。多分左側がメンバーに対するアクセス指定子で、上の「継承したクラス」というのはpublic継承したときのことで、「その他」とはクラスの外から見た時の話だと思うのですが、まったく理解できません。

メンバーに対するアクセス指定子の話はもっと最初の
https://rinatz.github.io/cpp-book/ch07-01-member-variables/
あたりでしておくべき話で、そうすると自然と
https://rinatz.github.io/cpp-book/ch07-11-structs/
の内容が統合され #65 も解決して万々歳となるのではと思います

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant