struct suspend_always;
(since C++20)suspend_always
is an empty class which can be used to indicate that an await expression always suspends and does not produce a value.
constexpr bool await_ready() const noexcept { return false; }
Always returns false, indicating that an await expression always suspends.
std::suspend_always::await_suspendDoes nothing.
std::suspend_always::await_resumeconstexpr void await_resume() const noexcept {}
Does nothing. An await expression does not produce a value if suspend_always
is used.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4