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

Method ~timer

source/timers/timer.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35timer::timer(std::shared_ptr<timer_state_base> timer_impl) noexcept : m_state(std::move(timer_impl)) {}
36
37timer::~timer() noexcept {
38 cancel();
39}
40
41void timer::throw_if_empty(const char* error_message) const {
42 if (static_cast<bool>(m_state)) {

Callers

nothing calls this directly

Calls 1

cancelFunction · 0.85

Tested by

no test coverage detected