HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions
v1::awaitable_cast< T > Struct Template Reference

#include <hikogui/awaitable.hpp>

Public Types

using type = std::decay_t<T>
 
using type = std::decay_t<decltype(std::declval<T>().operator co_await())>
 
using type = std::decay_t<decltype(operator co_await(std::declval<T>()))>
 

Public Member Functions

type operator() (auto &&rhs) const noexcept
 
type operator() (auto &&rhs) const noexcept
 
type operator() (auto &&rhs) const noexcept
 

Detailed Description

template<awaitable_direct T>
struct v1::awaitable_cast< T >

Cast a object to an directly-awaitable object.

This function may use operator co_await() to retrieve the actual awaitable.


The documentation for this struct was generated from the following file: