cpp单例模式里面static是线程安全的,具体可以查一下“magic static”

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务