mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
Loading...
Searching...
No Matches
mrs_lib::internal::PromiseType< T > Class Template Reference

Promise type for non-void task. More...

#include <task.hpp>

+ Inheritance diagram for mrs_lib::internal::PromiseType< T >:
+ Collaboration diagram for mrs_lib::internal::PromiseType< T >:

Public Member Functions

Task< T > get_return_object ()
 
void return_value (T &&ret_val)
 
void unhandled_exception ()
 
get_value ()
 
- Public Member Functions inherited from mrs_lib::internal::BasePromiseType< PromiseType< T > >
std::suspend_always initial_suspend ()
 
FinalAwaitable final_suspend () noexcept
 
void set_continuation (OwningCoroutineHandle<> continuation)
 

Detailed Description

template<typename T>
class mrs_lib::internal::PromiseType< T >

Promise type for non-void task.

This is responsible for returning value from completed task.


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