Restore the documented limitations, in a document of their own

オープン 初心者向け
#407 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
documentation

調査の方向性

CONTRIBUTING.md から始めて、#388 で削除された制限事項を確認し、その後、関連する issue #393 と #356 を比較します。列挙された制限事項、拒否されたメンバー、サイレントに無視されるメンバー、および Supported Features の更新された文言を網羅する、リンクされた doc/limitations.md または README.md 内の同等のセクションを追加します。CONTRIBUTING.md から制限事項の情報にリンクされ、列挙された動作に未文書化のものがない状態になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

#388 removed the Limitations bullet from CONTRIBUTING.md to drop one stale sentence about operators. The bullet also carried four statements that are still true and are now documented nowhere:

  • member function templates are not matched as conformance candidates (#393);
  • conformance accounts for an interface member's ref-qualifier, but the generated call wrapper does not apply it (#356);
  • there is no conversion between a protocol/protocol_view of one interface and another;
  • conformance checking is O(N*M) in the number of interface and candidate member functions.

They never really belonged in a contributing guide. Suggest a doc/limitations.md (or a Limitations section in README.md) that CONTRIBUTING.md links to, which can also list what a protocol interface rejects with a diagnostic after #388: operator=, operator co_await, the comparison operators, unary operator&, explicit-object and ref-qualified members; and what it silently ignores: static members including allocation operators, and conversion functions.

The Supported Features bullet in CONTRIBUTING.md still names only operator() and needs the same update.

主要言語
C++
スター
12
フォーク
4
平均マージ
1日 11時間
マージ済み PR(30日)
15

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

jbcoe/cc-protocol のほかの issue

jbcoe/cc-protocol の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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