摘要: C++版本: classSingleton{public: staticSingleton&getInstance() { returninstance; }private: Singleton(){}; Singleton(constSingleton&); Singleton&operator=(constSingleton&); staticSingletoninstance;};Sing... 阅读全文
posted @ 2013-10-02 21:20 helloweworld 阅读(159) 评论(0) 推荐(0) 编辑