"Akos Rajna" <akimaki23@xxxxxxxxx> writes: > and the linker is saying that Singleton<NetworkManager>::singleton is undefined The C++ language requires a definition of the static class variable, to go with the declaration. I didn't see that in your code snippet. template<class O> SingletonInstance<O> singleton; Ian