摘要: 重点: 1. `protected`: 只有类本身及其派生类和其友元函数,友元类可以访问. 2. `private`: 只有类本身及其友元函数,友元类可以访问. 阅读全文
posted @ 2018-10-06 14:11 yvhqbat 阅读(378) 评论(0) 推荐(0)