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...
阅读全文
摘要:想必每一位程序员都对设计模式中的单例模式非常的熟悉吧,以往我们用C++实现一个单例模式需要写以下代码: 1 class CSingleton 2 { 3 private: 4 CSingleton() //构造函数是私有的 5 { 6 } 7 static CSi...
阅读全文