MCPcopy Create free account
hub / github.com/Amanieu/asyncplusplus / task_func

Method task_func

include/async++/task_base.h:387–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 static const task_base_vtable vtable_impl;
386 template<typename... Args>
387 explicit task_func(Args&&... args)
388 {
389 this->vtable = &vtable_impl;
390 this->init_func(std::forward<Args>(args)...);
391 }
392
393 // Run the stored function
394 static void run(task_base* t) LIBASYNC_NOEXCEPT

Callers

nothing calls this directly

Calls 1

init_funcMethod · 0.45

Tested by

no test coverage detected