![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
TICPP
liuyun213
这个作者很懒,什么都没留下…
展开
-
第五章:隐藏实现 Hiding the Implementation
第五章:隐藏实现 Hiding the ImplementationSetting limits:设置限制library creator 和 client programmer之间的关系:便于作者修改,有些东西客户不该碰到C++ access control:C++的访问控制C++加入了访问控制:public,private,protectedpublic的所有人可原创 2010-04-28 08:40:00 · 485 阅读 · 0 评论 -
第六章:Initialization & Cleanup
第六章:Initialization & Cleanup Guaranteed initialization with the constructor通过constructor保证initialization Guaranteed cleanup with the destructor通过destructor保证cleanup对象跑出作用域({})时会自动析构,即便是goto出原创 2010-05-04 00:21:00 · 345 阅读 · 0 评论