MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / deadline_comparator

Class deadline_comparator

source/timers/timer_queue.cpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace concurrencpp::details {
25 namespace {
26 struct deadline_comparator {
27 bool operator()(const timer_ptr& a, const timer_ptr& b) const noexcept {
28 return a->get_deadline() < b->get_deadline();
29 }
30 };
31
32 class timer_queue_internal {
33 using timer_set = std::multiset<timer_ptr, deadline_comparator>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected