C++ 设计模式之单例模式,工厂模式

//Singleton.h #ifndef _SINGLETON_H_ #define _SINGLETON_H_ #include <iostream> using namespace std; class Singleton { public: static Singleton* Instance(); protected: Singleton(); private: static Singl
相关文章
相关标签/搜索