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

Function build

include/concurrencpp/task.h:191–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190 template<class callable_type>
191 void build(callable_type&& callable) {
192 using decayed_type = typename std::decay_t<callable_type>;
193
194 details::callable_vtable<decayed_type>::build(m_buffer, std::forward<callable_type>(callable));
195 m_vtable = &details::callable_vtable<decayed_type>::s_vtable;
196 }
197
198 template<class callable_type>
199 static bool contains(const details::vtable* const vtable) noexcept {

Callers 1

taskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected