Petari/include/Game/SingletonHolder.h

10 lines
150 B
C++

#pragma once
template<typename T>
class SingletonHolder {
public:
static T* sInstance;
};
template<typename T>
T* SingletonHolder<T>::sInstance;