HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
v1::awaitable Concept Reference

Check if the type can be co_awaited on after conversion with awaitable_cast. More...

#include <hikogui/awaitable.hpp>

Concept definition

template<typename T>
concept v1::awaitable = not std::is_same_v<awaitable_cast_t<T>, void>
Check if the type can be co_awaited on after conversion with awaitable_cast.
Definition awaitable.hpp:120

Detailed Description

Check if the type can be co_awaited on after conversion with awaitable_cast.

The type needs to do one of the following: