Skip to content

asio::coroutine

Provides support for implementing stackless coroutines.

詳細情報

メンバー

coroutine()

Constructs a coroutine in its initial state.

asio::coroutine::coroutine()

is_child()

Returns true if the coroutine is the child of a fork.

bool asio::coroutine::is_child() const

戻り値

bool

is_parent()

Returns true if the coroutine is the parent of a fork.

bool asio::coroutine::is_parent() const

戻り値

bool

is_complete()

Returns true if the coroutine has reached its terminal state.

bool asio::coroutine::is_complete() const

戻り値

bool