fiber
Loading...
Searching...
No Matches
fiber::AwaitMethod< Object, Method, lvalue_reference > Class Template Reference

#include <Await.hpp>

Public Member Functions

 AwaitTrueMethod (bool expected, const Object &obj, Method method)
 
constexpr bool await_ready () const noexcept
 Returns the value of the callable.
 
constexpr void await_resume ()
 no operation. For coroutine machinery.
 
template<class Handle>
constexpr void await_suspend (const Handle &handle) noexcept
 no operation. suspends always. For coroutine machinery.
 

Member Function Documentation

◆ await_ready()

template<class Object, class Method, bool lvalue_reference = true>
bool fiber::AwaitMethod< Object, Method, lvalue_reference >::await_ready ( ) const
inlineconstexprnoexcept

Returns the value of the callable.

◆ await_resume()

template<class Object, class Method, bool lvalue_reference = true>
void fiber::AwaitMethod< Object, Method, lvalue_reference >::await_resume ( )
inlineconstexpr

no operation. For coroutine machinery.

◆ await_suspend()

template<class Object, class Method, bool lvalue_reference = true>
template<class Handle>
void fiber::AwaitMethod< Object, Method, lvalue_reference >::await_suspend ( const Handle & handle)
inlineconstexprnoexcept

no operation. suspends always. For coroutine machinery.

◆ AwaitTrueMethod()

template<class Object, class Method, bool lvalue_reference = true>
fiber::AwaitMethod< Object, Method, lvalue_reference >::AwaitTrueMethod ( bool expected,
const Object & obj,
Method method )
inline

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