Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext
basic_yield_context::basic_yield_context (1 of 2 overloads)

Construct a yield context to represent the specified coroutine.

basic_yield_context(
    const detail::weak_ptr< callee_type > & coro,
    caller_type & ca,
    Handler & handler);

Most applications do not need to use this constructor. Instead, the spawn() function passes a yield context as an argument to the coroutine function.


PrevUpHomeNext