单件模式
摘要:1 #include<iostream> 2 #include<string> 3 4 using namespace std; 5 6 class Singleton{ 7 8 public: 9 Singleton(){} 10 Singleton( const Singleton& ){} 11 ~Singleton(){} 12 13 public: 14 static bool CreateSingleton( void ); 15 static void ReleaseSingleton( v...
阅读全文
posted @ 2013-06-01 15:02
浙公网安备 33010602011771号