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

Method coroutine

include/boost/asio/coroutine.hpp:249–249  ·  view source on GitHub ↗

Constructs a coroutine in its initial state.

Source from the content-addressed store, hash-verified

247public:
248 /// Constructs a coroutine in its initial state.
249 coroutine() : value_(0) {}
250
251 /// Returns true if the coroutine is the child of a fork.
252 bool is_child() const { return value_ < 0; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected