MCPcopy Create free account
hub / github.com/ChunelFeng/CThreadPool / operator>

Function operator>

src/UtilsCtrl/ThreadPool/Task/UTask.h:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 CBool operator>(const UTask& task) const {
58 return priority_ < task.priority_; // 新加入的,放到后面
59 }
60
61 CBool operator<(const UTask& task) const {
62 return priority_ >= task.priority_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected