MCPcopy Create free account
hub / github.com/boostorg/cobalt / stackful_task_void

Function stackful_task_void

test/experimental/context.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void stackful_task_void(experimental::context<task<void>> c)
53{
54 static_assert(experimental::detail::has_await_transform<decltype(c)::promise_type>);
55 BOOST_CHECK(c.await(this_coro::executor) == c.promise().get_executor());
56}
57
58CO_TEST_CASE(task_void)
59{

Callers

nothing calls this directly

Calls 3

awaitMethod · 0.80
get_executorMethod · 0.45
promiseMethod · 0.45

Tested by

no test coverage detected