Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Improve compiler diagnostics for when a sender & receiver won't connect

オープン
#825 コメント 1 件 リアクション 2 件 担当者 2 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@ericniebler がすでに取り組んでいます。

2023年3月16日 から。

  • #835 @maikel による — マージされずにクローズ

評価

この issue はまだ評価されていません。

説明

enhancement P1

I think stdexec can absolutely have good diagnostics, but we're a long way from that. I've done a bit of that with the receiver_of concept, which gives good diagnostics when it fails. (It tells you which completion signature the receiver lacks a handler for. See here.)

I'm thinking it should be possible to retrofit this sort of type-based error propagation into, say, get_completion_signatures and make_completion_signatures, so that users get a sensible diagnostic when a sender and receiver don't connect. And then change the routines like sync_wait to surface the error information when the requirements aren't satisfied.

主要言語
C++
スター
2.4k
フォーク
274
平均マージ
1日 13時間
マージ済み PR(30日)
38

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/stdexec のほかの issue

NVIDIA/stdexec の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。