"potentially throwing" v.s. "potentially-throwing"
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 74/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- tex
調査の方向性
まずドラフトのソースで “potentially throwing” を検索し、各出現箇所を [except.spec]/1 および 6 の定義と比較します。列挙されている節([basic.stc.dynamic.deallocation]/3、[concept.destructible]/2、[exec] の節を含む)を確認し、その後、一貫していない文言を更新します。引用されている出現箇所で用語が一貫して使用され、意図しない一致箇所が変更されていなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
The correct form seems to be "potentially-throwing" (with hyphenation), see [except.spec]/1, 6
The predicate indicating whether a function cannot exit via an exception is called the exception specification of the function. If the predicate is false, the function has a potentially-throwing exception specification, otherwise it has a non-throwing exception specification. ...
An expression E is potentially-throwing if ...
The following lists occurances of "potentially throwing".
- [basic.stc.dynamic.deallocation]/3
Each deallocation function shall return void. A deallocation function shall not have a potentially throwing exception specification ([except.spec]). ...
- [except.spec]/4
If a declaration of a function does not have a noexcept-specifier, the declaration has a potentially throwing exception specification unless it is a destructor or a deallocation function or is defaulted on its first declaration, in which cases the exception specification is as specified below and no other declaration for that function shall have a noexcept-specifier. ...
- [concept.destructible]/2
[Note 1: Unlike the Cpp17Destructible requirements (Table 35), this concept forbids destructors that are potentially throwing, even if a particular invocation of the destructor does not actually throw. — end note]
- [exec.snd.general]/3, 4
... [Example 1: Let sndr2 be the sender then(sndr, fn). sndr2 has the same set_value completion domain tag as sndr, but if fn's evaluation is potentially throwing, sndr's set_error completion domain tag would be the COMMON-DOMAIN of sndr's value and error completion domain tags, in accordance with the semantics of the then algorithm ([exec.then]). — end example]
[Example 2: Let sndr2 be the sender from the example above. The set_value completion scheduler of sndr2 is the set_value completion scheduler of sndr, if any. But sndr2 can only report a set_error completion scheduler when invocations of fn are not potentially throwing or when sndr has no set_error completions. When fn can throw, sndr2 could complete with set_error either by forwarding an error completion from sndr or by completing with the exception thrown by fn, which would happen on an agent associated with sndr's set_value completion scheduler. — end example]
- [exec.snd.expos]/22, 32
Remarks: The expression in the noexcept clause is true if the return statement above is not potentially throwing; otherwise, false.
Remarks: The expression in the noexcept clause is true if the return statement is not potentially throwing; otherwise, false.
- [exec.continues.on]/10
The expression in the noexcept clause of the lambda is true if the construction of the returned state-type object is not potentially throwing; otherwise, false.
- 主要言語
- TeX
- スター
- 224
- フォーク
- 814
- 平均マージ
- 17時間 21分
- マージ済み PR(30日)
- 30
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cplusplus/draft のほかの issue
-
P2-Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cplusplus/draft#9349 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
P2-Bug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
cplusplus/draft#9348 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
P2-Bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
cplusplus/draft#9343 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
cplusplus/draft#9342 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
ub-ifndr
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cplusplus/draft#9341 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
cplusplus/draft の issue をすべて見る
似ている issue
-
area:kubernetes source:reader type:content-error
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
stephrobert/blog-roadmap#24 ·
-
Link Checker Reportオープンautomated issue report
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
PedestrianDynamics/pyFDS-Evac#342 ·
メンテナーはふだん 1 日以内に返信
-
Docs Timedelta
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pandas-dev/pandas#69919 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
supabase/agent-skills#614 ·