LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::detail::AwaitableWrapper< Promise, OrigAwaiter > 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_
OrigAwaiter Orig_

Detailed Description

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

Definition at line 51 of file context.h.

Member Function Documentation

◆ await_ready()

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

Definition at line 56 of file context.h.

References Orig_.

◆ await_resume()

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

Definition at line 66 of file context.h.

References await_resume(), 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 OrigAwaiter>
decltype(auto) LC::Util::detail::AwaitableWrapper< Promise, OrigAwaiter >::await_suspend ( auto handle)
inline

Definition at line 61 of file context.h.

References await_suspend(), 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 OrigAwaiter>
OrigAwaiter LC::Util::detail::AwaitableWrapper< Promise, OrigAwaiter >::Orig_

Definition at line 54 of file context.h.

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

◆ Promise_

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

Definition at line 53 of file context.h.

Referenced by await_resume().


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/util/threads/coro/context.h