싱글톤 패턴의 원리 이해 개요 #include class singleton { static singleton* _instance; singleton(); ~singleton(); singleton(const singleton&) = delete; singleton operator = (const singleton&) = delete; public: static singleton* GetInstance(); }; singleton* singleton::_instance = nullptr; singleton::singleton() { std::cout