C++ keyword: co_yield (since C++20)

Usage

yields a value from a coroutine

Notes

Feature-test macro ValueStdFeature

__cpp_impl_coroutine

201902L

(C++20)

Coroutines

(compiler support) See also

co_await

co_return