摘要: 15.1 Friends ) When you want to make class A's private members accessible to class B, let B be a friend class of A by declaring `friend class B;': Sup 阅读全文
posted @ 2018-11-15 22:03 Gabriel_Ham 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 14.4 Class Templates ) Templates provide parameterized types, which is capable of passing a type name as a recipe for building a class or a function. 阅读全文
posted @ 2018-11-15 14:25 Gabriel_Ham 阅读(144) 评论(0) 推荐(0) 编辑