MCPcopy Create free account
hub / github.com/boostorg/asio / basic_yield_context

Method basic_yield_context

include/boost/asio/spawn.hpp:197–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 */
196 template <typename OtherExecutor>
197 basic_yield_context(const basic_yield_context<OtherExecutor>& other,
198 constraint_t<
199 is_convertible<OtherExecutor, Executor>::value
200 > = 0)
201 : spawned_thread_(other.spawned_thread_),
202 executor_(other.executor_),
203 ec_(other.ec_)
204 {
205 }
206
207 /// Get the executor associated with the yield context.
208 executor_type get_executor() const noexcept

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected