HikoGUI
Select Version:
⚠️ This documents the main development branch of HikoGUI. It might differ from release versions.
A low latency retained GUI
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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.