|
From: <xs...@us...> - 2006-05-18 19:04:43
|
Revision: 29 Author: xsdwx Date: 2006-05-18 12:04:28 -0700 (Thu, 18 May 2006) ViewCVS: http://svn.sourceforge.net/perceptioncrash/?rev=29&view=rev Log Message: ----------- Removed Paths: ------------- trunk/perceptioncrash/src/Singleton.hpp Deleted: trunk/perceptioncrash/src/Singleton.hpp =================================================================== --- trunk/perceptioncrash/src/Singleton.hpp 2006-05-18 19:02:34 UTC (rev 28) +++ trunk/perceptioncrash/src/Singleton.hpp 2006-05-18 19:04:28 UTC (rev 29) @@ -1,23 +0,0 @@ -#ifndef SINGLETON_HPP -#define SINGLETON_HPP - -template<class T> -class Singleton -{ - public: - static T& getSingleton() - { - static T instance; - - return instance; - } - - private: - Singleton(); - ~Singleton(); - - Singleton(Singleton const &); - Singleton& operator=(Singleton const &); -}; - -#endif // SINGLETON_HPP This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |