mirror of
https://github.com/SMGCommunity/Petari.git
synced 2024-11-27 23:40:39 +00:00
10 lines
150 B
C++
10 lines
150 B
C++
#pragma once
|
|
|
|
template<typename T>
|
|
class SingletonHolder {
|
|
public:
|
|
static T* sInstance;
|
|
};
|
|
|
|
template<typename T>
|
|
T* SingletonHolder<T>::sInstance; |