C/C++ API Reference
Loading...
Searching...
No Matches
pw::async2::internal::CoroPromiseType< T > Class Template Referencefinal

Public Member Functions

template<typename... Args>
 CoroPromiseType (CoroContext &cx, const Args &...)
 
template<typename MethodReceiver , typename... Args>
 CoroPromiseType (const MethodReceiver &, CoroContext &cx, const Args &...)
 
Coro< T > get_return_object ()
 
std::suspend_always initial_suspend ()
 
std::suspend_always final_suspend () noexcept
 
template<std::convertible_to< T > From>
void return_value (From &&value)
 
void unhandled_exception ()
 
template<typename Pendable >
requires (!std::is_reference_v<Pendable>)
Awaitable< Pendable, CoroPromiseTypeawait_transform (Pendable &&pendable)
 
template<typename Pendable >
Awaitable< Pendable *, CoroPromiseTypeawait_transform (Pendable &pendable)
 
Contextcx ()
 

Static Public Member Functions

static Coro< T > get_return_object_on_allocation_failure ()
 
template<typename... Args>
static void * operator new (std::size_t size, CoroContext &coro_cx, const Args &...) noexcept
 
template<typename... Args>
static void * operator new (std::size_t size, std::align_val_t align, CoroContext &coro_cx, const Args &...) noexcept
 
template<typename MethodReceiver , typename... Args>
static void * operator new (std::size_t size, const MethodReceiver &, CoroContext &coro_cx, const Args &...) noexcept
 
template<typename MethodReceiver , typename... Args>
static void * operator new (std::size_t size, std::align_val_t align, const MethodReceiver &, CoroContext &coro_cx, const Args &...) noexcept
 
static void * SharedNew (CoroContext &coro_cx, std::size_t size, std::size_t align) noexcept
 
static void operator delete (void *)
 

Public Attributes

pw::allocator::Deallocator & dealloc_
 
PendFillReturnValueFn currently_pending_
 
InOut< T > * in_out_
 

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