|
sEMU
|


类 | |
| class | CoreCommitState |
| 状态代理 (Proxy Pattern) 更多... | |
| class | CoreIterator |
| 迭代器封装 (Iterator Pattern) 更多... | |
| class | CoreSimRange |
| 范围包装 (Range Wrapper) 更多... | |
函数 | |
| template<typename Range, typename Action> | |
| void | run_simulation (Range &&range, Action &&action) noexcept |
| 泛型主执行器 (Generic Algorithm) | |
|
inlinenoexcept |
泛型主执行器 (Generic Algorithm)
接受一个迭代范围和一个可调用对象 (Action,例如 Lambda 表达式)。 完美转发状态类型,以保障零开销执行传入的处理函数,相当于主事件循环机制。
