Namespaces
Variants
Views
Actions

Talk:cpp/coroutine/coroutine handle

From cppreference.com

MSVC says the example code on this page is ill-formed:

a coroutine's promise must declare either 'return_value' or 'return_void'

See also https://stackoverflow.com/questions/67306337/a-coroutines-promise-must-declare-either-return-value-or-return-void-erro