单例模式 其他二十三种设计模式 #include<iostream> using namespace std; //单例模式--懒汉式 class Singleton_lazy { private: Singleton_lazy() { cout << "懒汉"