Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 834 Bytes

initial_suspend.md

File metadata and controls

34 lines (25 loc) · 834 Bytes

initial_suspend

  • generator[meta header]
  • function[meta id-type]
  • std[meta namespace]
  • generator::promise_type[meta class]
  • cpp23[meta cpp]
suspend_always initial_suspend() const noexcept;
  • suspend_always[link /reference/coroutine/suspend_always.md]

概要

ジェネレータコルーチンの初期サスペンドポイントを制御するAwaitableオブジェクトを返す。 プログラマが本関数を直接利用することは想定されていない。

戻り値

suspend_always

例外

投げない

バージョン

言語

  • C++23

処理系