Class promise_an

Class List > promise_an

suspend_always (initial) +suspend_never (final)

  • #include <return.h>

Public Functions

Type Name
suspend_never final_suspend () noexcept
destroy coroutine frame after return
suspend_always initial_suspend () noexcept
suspend after invoke

Public Functions Documentation

function final_suspend

inline suspend_never promise_an::final_suspend () noexcept

Returns:

suspend_never

function initial_suspend

inline suspend_always promise_an::initial_suspend () noexcept

Returns:

suspend_always


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