摘要: 单例模式的惯用实现 一直以来,我在C++中是这样实现单例模式的 class Singleton { public: static Singleton& GetInstance() { static Singleton instance; return instance; } private: Sin 阅读全文
posted @ 2022-06-16 23:47 明明1109 阅读(672) 评论(0) 推荐(0) 编辑