摘要:
使用Qt方便的实现单例模式 单例类的实现,其中qCallOnce函数是确保该函数只执行一次: #ifndef SINGLETON #define SINGLETON #include <QtGlobal> #include <QScopedPointer> #include "call_once.h 阅读全文
posted @ 2022-07-08 15:52
AlexSun_2021
阅读(562)
评论(0)
推荐(0)
浙公网安备 33010602011771号