After several bad problems with unwanted copy actions on singletons, this base class is introduced. It has protected copy constructor and assignment operator. Therefore with a singleton that is derived from this class, the compiler will detect all attempts to copy a singleton...
Definition in file SAPDB_Singleton.hpp.
|Base class for singletons. More...|
|class||SAPDB_SingletonTemplate< Singleton >|
|Alternative for class SAPDB_Singleton including Instance method. More...|
|obsolete... to be removeed by ThomasA ;-) |