【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 阅读(186) 评论(0) 推荐(0)
浙公网安备 33010602011771号