单例模式:Qt本身就提供了专门的宏 Q_GLOBAL_STATIC 通过这个宏不但定义简单,还可以获得线程安全性

NoSuchKey

猜你喜欢

转载自www.cnblogs.com/findumars/p/10392770.html