单例模式饿汉模式类定义的时候就创建,是线程安全的
class Singleton{
private:
    static Singleton* instance;
    Singleton(const Singleton&am
                                
                            
                            
                                
                                    2022-08-07