GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • cpprefjp - C++日本語リファレンス
  • GitHub Project

This view

  • Original page
  • New address

GeezerVison is showing cpprefjp.github.io — coroutine - cpprefjp C++日本語リファレンス

  1. リファレンス
  2. coroutine

最終更新日時: 2026年09月18日 23時56分29秒 (JST)
rotarymars が更新

履歴 編集

<coroutine>

coroutine(C++20)

概要

<coroutine>ヘッダでは、コルーチンの制御に関する機能を提供する。

このヘッダでは、以下の標準ヘッダをインクルードする:

  • <compare> (C++20)

フリースタンディング

このヘッダは、フリースタンディング処理系でも使用できる。本ヘッダが提供する全ての機能がフリースタンディング処理系で使用可能である。

コルーチントレイト

名前 説明 対応バージョン
coroutine_traits Promise型導出トレイト(class template) C++20

コルーチンハンドル

名前 説明 対応バージョン
coroutine_handle コルーチンハンドル(class template) C++20

何もしないコルーチン

名前 説明 対応バージョン
noop_coroutine_promise 何もしないコルーチンPromise型(class) C++20
noop_coroutine_handle 何もしないコルーチンのハンドル(class) C++20
noop_coroutine 何もしないコルーチンのハンドルを取得(function) C++20

トリビアルAwaitable型

名前 説明 対応バージョン
suspend_never 常に中断しないAwaitable型(class) C++20
suspend_always 常に中断するAwaitable型(class) C++20

バージョン

言語

  • C++20

処理系

  • Clang: ??
  • GCC: 11.1 ✅
  • Visual C++: ??

関連項目

  • C++20 コルーチン

参照

  • P2051R0 C++ Standard Library Issues to be moved in Prague
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.