12 2014 档案

摘要:Item 1: Understand template type deduction.Item 2: Understand auto type deduction.Item 3: Understand decltype.Item 4: Know how to view deduced types.I... 阅读全文
posted @ 2014-12-22 14:21 老司机 阅读(1129) 评论(5) 推荐(0) 编辑
摘要:想必每一位程序员都对设计模式中的单例模式非常的熟悉吧,以往我们用C++实现一个单例模式需要写以下代码: 1 class CSingleton 2 { 3 private: 4 CSingleton() //构造函数是私有的 5 { 6 } 7 static CSi... 阅读全文
posted @ 2014-12-11 12:06 老司机 阅读(9706) 评论(27) 推荐(6) 编辑

点击右上角即可分享
微信分享提示