opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
osc::cpp23::generator< Ref, V >::promise_type Class Referencefinal

#include <generator.h>

Classes

struct  final_awaiter
 

Public Member Functions

generator get_return_object () noexcept
 
std::suspend_always initial_suspend () const noexcept
 
final_awaiter final_suspend () noexcept
 
std::suspend_always yield_value (yielded val)
 
void return_void () const noexcept
 
void unhandled_exception ()
 

Public Attributes

std::add_pointer_t< yieldedvalue_ = nullptr
 
std::exception_ptr except_
 
std::stack< std::coroutine_handle<> > * active_ = nullptr
 

Member Function Documentation

◆ final_suspend()

template<class Ref , class V = void>
final_awaiter osc::cpp23::generator< Ref, V >::promise_type::final_suspend ( )
inlinenoexcept

◆ get_return_object()

template<class Ref , class V = void>
generator osc::cpp23::generator< Ref, V >::promise_type::get_return_object ( )
inlinenoexcept

◆ initial_suspend()

template<class Ref , class V = void>
std::suspend_always osc::cpp23::generator< Ref, V >::promise_type::initial_suspend ( ) const
inlinenoexcept

◆ return_void()

template<class Ref , class V = void>
void osc::cpp23::generator< Ref, V >::promise_type::return_void ( ) const
inlinenoexcept

◆ unhandled_exception()

template<class Ref , class V = void>
void osc::cpp23::generator< Ref, V >::promise_type::unhandled_exception ( )
inline

◆ yield_value()

template<class Ref , class V = void>
std::suspend_always osc::cpp23::generator< Ref, V >::promise_type::yield_value ( yielded  val)
inline

Member Data Documentation

◆ active_

template<class Ref , class V = void>
std::stack<std::coroutine_handle<> >* osc::cpp23::generator< Ref, V >::promise_type::active_ = nullptr

◆ except_

template<class Ref , class V = void>
std::exception_ptr osc::cpp23::generator< Ref, V >::promise_type::except_

◆ value_

template<class Ref , class V = void>
std::add_pointer_t<yielded> osc::cpp23::generator< Ref, V >::promise_type::value_ = nullptr

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