FCT
|
用于自定义对象销毁行为 更多...
#include <RefCount.h>
Public 类型 | |
using | DeleterType = std::function<void(T*)> |
Public 成员函数 | |
void | setDeleter (DeleterType deleter) |
template<typename Func> | |
void | setDeleterFunc (Func &&func) |
Protected 成员函数 | |
bool | applyDeleter (T *ptr) |
Private 属性 | |
DeleterType | m_deleter |
用于自定义对象销毁行为
T | 子类类型 |
在文件 RefCount.h 第 50 行定义.
using FCT::DeletableTrait< T >::DeleterType = std::function<void(T*)> |
在文件 RefCount.h 第 52 行定义.
|
inlineprotected |
在文件 RefCount.h 第 64 行定义.
|
inline |
在文件 RefCount.h 第 54 行定义.
|
inline |
在文件 RefCount.h 第 59 行定义.
|
private |
在文件 RefCount.h 第 73 行定义.