C++ keyword: co_return (since C++20)
From cppreference.com
Usage
Notes
| Feature-test macro | Value | Std | Feature |
|---|---|---|---|
__cpp_impl_coroutine |
201902L |
(C++20) | Coroutines (compiler support) |
See also
- switch statement: switch, case
- default (as case label declaration) etc: default
- goto statement: goto
- continue statement: continue
- break statement: break
- return statement: return
- do-while loop and
whileloop: do, while - for loop and range-based
forloop: for - coroutines: co_await, co_yield
