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

Check if type can be casted with awaitable_cast to an awaitable. More...

#include <hikogui/dispatch/awaitable.hpp>

Concept definition

template<typename T>
concept v1::convertible_to_awaitable = requires(std::remove_reference_t<T>& rhs) { awaitable_cast<std::remove_cvref_t<T>>{}(rhs); }
Check if type can be casted with awaitable_cast to an awaitable.
Definition awaitable.hpp:73

Detailed Description

Check if type can be casted with awaitable_cast to an awaitable.