flatten 20260225
This commit is contained in:
36
tjp/core/singleton/Singleton.h
Executable file
36
tjp/core/singleton/Singleton.h
Executable file
@@ -0,0 +1,36 @@
|
||||
// TJP COPYRIGHT HEADER
|
||||
|
||||
/**
|
||||
* legal header
|
||||
*
|
||||
* ============================================================================
|
||||
* TJP 10/11/01 Got rid of the constructed singleton, it was essentially
|
||||
* a pointer!
|
||||
*
|
||||
* @author Timothy Prepscius
|
||||
* @created 3/../01
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace timprepscius {
|
||||
namespace core {
|
||||
|
||||
/**
|
||||
* a Singleton container, whose contained instance is constructed on its
|
||||
* first request
|
||||
*
|
||||
* T defines the class pointer type
|
||||
* X defines the allocation class type
|
||||
*/
|
||||
class Singletons;
|
||||
|
||||
|
||||
class Singleton_;
|
||||
|
||||
template<class T, class X=T>
|
||||
class Singleton;
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user