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

Method destroy

include/concurrencpp/task.h:157–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 }
156
157 static void destroy(void* target) noexcept {
158 assert(target != nullptr);
159
160 if (is_inlinable()) {
161 return destroy_inline(target);
162 }
163
164 return destroy_allocated(target);
165 }
166
167 static constexpr callable_type* as(void* src) noexcept {
168 if (is_inlinable()) {

Callers 6

~lazy_awaitableMethod · 0.45
~generatorMethod · 0.45
~lazy_resultMethod · 0.45
lazy_resultClass · 0.45
delete_selfMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected