#pragma once //数据单实例创建 #include #include "CDBConnPool.h" //单件相关定义 typedef boost::serialization::singleton singleton_CDBConnPool; #define sDBConnPool singleton_CDBConnPool::get_mutable_instance() #define sDBConnPool_const singleton_CDBConnPool::get_const_instance()