codex
Loading...
Searching...
No Matches
continuation::promise_type Class Reference
Inheritance diagram for continuation::promise_type:
Collaboration diagram for continuation::promise_type:

Public Types

using handle_type = std::coroutine_handle<promise_type>
 

Public Member Functions

auto get_return_object () noexcept
 
auto initial_suspend () const noexcept
 
auto final_suspend () const noexcept
 
void set_continuation (std::coroutine_handle<> h_) noexcept
 
- Public Member Functions inherited from base_promise
void return_void ()
 
void unhandled_exception () const noexcept
 

Private Attributes

std::coroutine_handle h = std::noop_coroutine()
 

Member Typedef Documentation

◆ handle_type

using continuation::promise_type::handle_type = std::coroutine_handle<promise_type>

Member Function Documentation

◆ final_suspend()

auto continuation::promise_type::final_suspend ( ) const
noexcept

◆ get_return_object()

auto continuation::promise_type::get_return_object ( )
inlinenoexcept

◆ initial_suspend()

auto continuation::promise_type::initial_suspend ( ) const
inlinenoexcept

◆ set_continuation()

void continuation::promise_type::set_continuation ( std::coroutine_handle<> h_)
inlinenoexcept

Member Data Documentation

◆ h

std::coroutine_handle continuation::promise_type::h = std::noop_coroutine()
private

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