allocator_result.h
来自「有关MYSQL的开源码」· C头文件 代码 · 共 25 行
H
25 行
#ifndef MYSQLCPPAPI_QUERYRESULTS_ALLOCATOR_RESULT_H#define MYSQLCPPAPI_QUERYRESULTS_ALLOCATOR_RESULT_H#include "mysqlcppapi/smartpointer/Allocator.h"#include "mysqlcppapi/mysqlcppapi_internal.h"namespace mysqlcppapi{//The is used to deallocate Results when appropriate,//but allocation is done by specific queries, which use the SharedPtr(MYSQL_RES*) constructor.class Allocator_Result : public Allocator<MYSQL_RES>{public: static cpointer allocate(); static void deallocate(cpointer pInstance);};} //namespace#endif //MYSQLCPPAPI_QUERYRESULTS_ALLOCATOR_RESULT_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?