LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::detail::AwaitableWrapper< Promise, T > Struct Template Reference

#include "context.h"

Public Member Functions

bool await_ready ()
 
decltype(auto) await_suspend (auto handle)
 
decltype(auto) await_resume ()
 

Public Attributes

Promise & Promise_
 
Orig_
 

Detailed Description

template<typename Promise, typename T>
struct LC::Util::detail::AwaitableWrapper< Promise, T >

Definition at line 51 of file context.h.

Member Function Documentation

◆ await_ready()

template<typename Promise, typename T>
bool LC::Util::detail::AwaitableWrapper< Promise, T >::await_ready ( )
inline

Definition at line 56 of file context.h.

References LC::Util::detail::Awaiter(), and Orig_.

+ Here is the call graph for this function:

◆ await_resume()

template<typename Promise, typename T>
decltype(auto) LC::Util::detail::AwaitableWrapper< Promise, T >::await_resume ( )
inline

Definition at line 66 of file context.h.

References await_resume(), LC::Util::detail::Awaiter(), LC::Util::detail::CheckDeadObjects(), Orig_, and Promise_.

Referenced by await_resume().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ await_suspend()

template<typename Promise, typename T>
decltype(auto) LC::Util::detail::AwaitableWrapper< Promise, T >::await_suspend ( auto handle)
inline

Definition at line 61 of file context.h.

References await_suspend(), LC::Util::detail::Awaiter(), and Orig_.

Referenced by await_suspend().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ Orig_

template<typename Promise, typename T>
T LC::Util::detail::AwaitableWrapper< Promise, T >::Orig_

Definition at line 54 of file context.h.

Referenced by await_ready(), await_resume(), and await_suspend().

◆ Promise_

template<typename Promise, typename T>
Promise& LC::Util::detail::AwaitableWrapper< Promise, T >::Promise_

Definition at line 53 of file context.h.

Referenced by await_resume().


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