Class promise_na

Class List > promise_na

suspend_never (initial) +suspend_always (final)

  • #include <return.h>

Inherited by the following classes: frame_t::promise_type

Public Functions

Type Name
suspend_always final_suspend () noexcept
suspend after return
suspend_never initial_suspend () noexcept
no suspend after invoke

Public Functions Documentation

function final_suspend

inline suspend_always promise_na::final_suspend () noexcept

Returns:

suspend_always

function initial_suspend

inline suspend_never promise_na::initial_suspend () noexcept

Returns:

suspend_never


The documentation for this class was generated from the following file interface/coroutine/return.h