Quote Originally Posted by S_M_A View Post
Move the definition part into a cpp file and leave just the declaration part in the header.
That is what I had in the first place, and it just would not compile or link then.

I only got it working by moving everything into one header file. And it worked for one include into main.cpp;

But when i created another test.cpp file to check whether it would limit the number of singletons as designed, it gave the link errors I originally posted.