C++: Undefined reference to instance in Singleton class

前端 未结 5 1281
醉酒成梦
醉酒成梦 2020-12-20 17:15

I\'m currently trying to implement a factory as a singleton. I practically used the textbook example of the Singleton pattern. Here\'s the .h file:

namespace         


        
5条回答
提交回复
热议问题