执行器包装类
更多...
#include <logger_types.hpp>
|
| template<typename Executor , typename... Args> |
| static executor | make (Args &&... args) |
| | 通过工厂函数构造
|
| |
◆ base_ptr_type
◆ inside_type
◆ executor() [1/2]
| ZCLibLog::executor::executor |
( |
| ) |
|
|
default |
◆ executor() [2/2]
| ZCLibLog::executor::executor |
( |
inside_type * | executor_ptr | ) |
|
|
inline |
通过裸指针构造
- 参数
-
- 警告
- 裸指针传入后禁止delete!
禁止取右值对象的地址传入
◆ get()
◆ make()
template<typename Executor , typename... Args>
| static executor ZCLibLog::executor::make |
( |
Args &&... | args | ) |
|
|
inlinestatic |
通过工厂函数构造
- 模板参数
-
| Executor | 执行器类 |
| Args | 执行器类构造参数列表(自动推导) |
- 参数
-
- 返回
- 包装执行器
◆ operator bool()
◆ operator*()
◆ operator->()
◆ unique()
◆ use_count()
该类的文档由以下文件生成: