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

#include <hikogui/coroutine/awaitable.hpp>

Public Types

using type = void
 

Detailed Description

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

A functor for casting a type to an awaitable.

This class holds a value_type for the type that is returned by the functor. And it will have a operator() which will return a value_type and accepts a single forwarding argument for the object to convert.

Note
You may add a specialization for hi::awaitable_cast for your own types.

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