迷路的龙猫

Hacking the interesting world!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年4月8日

摘要: Things to Rember:1.Manually initialize objects of built-in type, because C++ only sometimes initializes them itself.为内置型对象进行手工初始化,因为C++不保证初始化它们。2.In a constructor, prefer use of the member initialization list to assignment inside the body ofthe constructor. List data members in the initialization li 阅读全文
posted @ 2014-04-08 21:42 迷路的龙猫 阅读(135) 评论(0) 推荐(0) 编辑