2015年9月2日

【more effective c++读书笔记】【第5章】技术(1)——将constructor和non-member functions虚化

摘要: 一、将constructor虚化1、例子:#include#include#includeusing namespace std;class NLComponent{public: NLComponent(){ cout > str){ components.push_back(readComp... 阅读全文

posted @ 2015-09-02 11:01 ruan875417 阅读(173) 评论(0) 推荐(0) 编辑

导航