YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::GuardStickyAwaiter< M > Class Template Reference

Public Member Functions

 GuardStickyAwaiter (M &m)
 
YACLIB_INLINE bool await_ready () noexcept
 
template<typename Promise >
YACLIB_INLINE bool await_suspend (yaclib_std::coroutine_handle< Promise > handle) noexcept
 
YACLIB_INLINE auto await_resume () noexcept
 

Detailed Description

template<typename M>
class yaclib::detail::GuardStickyAwaiter< M >

Definition at line 117 of file guard_sticky.hpp.

Constructor & Destructor Documentation

◆ GuardStickyAwaiter()

template<typename M >
yaclib::detail::GuardStickyAwaiter< M >::GuardStickyAwaiter ( M m)
inlineexplicit

Definition at line 119 of file guard_sticky.hpp.

Member Function Documentation

◆ await_ready()

template<typename M >
YACLIB_INLINE bool yaclib::detail::GuardStickyAwaiter< M >::await_ready ( )
inlinenoexcept

◆ await_resume()

template<typename M >
YACLIB_INLINE auto yaclib::detail::GuardStickyAwaiter< M >::await_resume ( )
inlinenoexcept

Definition at line 135 of file guard_sticky.hpp.

References YACLIB_ASSERT.

◆ await_suspend()

template<typename M >
template<typename Promise >
YACLIB_INLINE bool yaclib::detail::GuardStickyAwaiter< M >::await_suspend ( yaclib_std::coroutine_handle< Promise handle)
inlinenoexcept

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