Skip to content

Commit a73938a

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 4d9b5a4 commit a73938a

File tree

5 files changed

+115
-215
lines changed

5 files changed

+115
-215
lines changed

reference/chrono/make24.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h2>例</h2>
239239
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">,</span> <span class="nb">false</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">0h</a></span><span class="p">);</span>
240240

241241
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">);</span>
242-
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">1h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span><span class="n"><a href="duration/op_h.html">3h</a></span><span class="p">);</span>
242+
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">1h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="mf">1F</span><span class="n">SWzWPHdwJfASbtbNByKhJISniPBBJxk</span><span class="p">);</span>
243243
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">3h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">15h</a></span><span class="p">);</span>
244244
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">11h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">23h</a></span><span class="p">);</span>
245245
<span class="p">}</span>

reference/execution/execution/connect.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2025-08-16T12:31:08">
204-
2025年08月16日 12時31分08秒
203+
<span itemprop="datePublished" content="2026-01-19T03:03:20">
204+
2026年01月19日 03時03分20秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -254,6 +254,15 @@ <h2>効果</h2>
254254
<li><code><a href="sender_in.html">sender_in</a>&lt;Sndr, <a href="env_of_t.html">env_of_t</a>&lt;Rcvr&gt;&gt;</code></li>
255255
<li><code><a href="receiver_of.html">receiver_of</a>&lt;Rcvr, <a href="completion_signatures_of_t.html">completion_signatures_of_t</a>&lt;Sndr, <a href="env_of_t.html">env_of_t</a>&lt;Rcvr&gt;&gt;&gt;</code></li>
256256
</ul>
257+
<p>下記を満たす右辺値式<code>rcvr2</code>が存在するとき、プログラムは<a class="cpprefjp-defined-word" data-desc="プログラムが適格でないこと。コンパイルエラーなどになる" href="../../../implementation-compliance.html#dfn-ill-formed">不適格</a>(<a class="cpprefjp-defined-word" data-desc="処理系は規則違反に対してエラーメッセージや警告を出さないかもしれない" href="../../../implementation-compliance.html#dfn-no-diagnostic-required">診断不要</a>)となる。</p>
258+
<ul>
259+
<li><code>decltype(rcvr2)</code><code><a href="receiver.html">receiver</a></code>のモデルである</li>
260+
<li><code>noexcept(rcvr2)</code><code>true</code></li>
261+
<li><code><a href="../../type_traits/is_same.html">is_same_v</a>&lt;decltype(<a href="get_env.html">get_env</a>(rcvr2)), decltype(get_env(rcvr))&gt;</code><code>true</code></li>
262+
<li><code>noexcept(execution::connect(sndr, rcvr))</code><code>true</code></li>
263+
<li><code>noexcept(execution::connect(sndr, rcvr2))</code><a class="cpprefjp-defined-word" data-desc="プログラムが文法規則・診断対象の意味規則・単一定義規則を満たすこと" href="../../../implementation-compliance.html#dfn-well-formed">適格</a>かつ<code>false</code>に評価される</li>
264+
</ul>
265+
<p>上記により<code><a href="get_completion_signatures.html">get_completion_signatures</a></code>内部のように、環境のコンテキストのみから<code>connect</code>操作の<a class="cpprefjp-defined-word" data-desc="問題が発生したときに、現在実行位置を過去に通過・記録した位置に戻し、文脈情報を添えて紐づけられた処理(例外ハンドラー)を呼び出す仕組み。またはその事態">例外</a>送出有無を判断できるようになる。</p>
257266
<h3>Awaitable接続用へルパ</h3>
258267
<p>説明用のクラス<code>connect-awaitable-promise</code>, <code>operation-state-task</code>をそれぞれ下記の通り定義する。</p>
259268
<p><code>DS</code><code><a href="../../type_traits/decay.html">decay_t</a>&lt;decltype((new_sndr))&gt;</code>、型<code>DR</code><code><a href="../../type_traits/decay.html">decay_t</a>&lt;Rcvr&gt;</code>とする。</p>
@@ -405,6 +414,7 @@ <h2>参照</h2>
405414
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2300r10.html" target="_blank">P2300R10 <code>std::execution</code></a></li>
406415
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3396r1.html" target="_blank">P3396R1 std::execution wording fixes</a></li>
407416
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3557r3.html" target="_blank">P3557R3 High-Quality Sender Diagnostics with Constexpr Exceptions</a></li>
417+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3388r3.pdf" target="_blank">P3388R3 When Do You Know connect Doesn't Throw?</a></li>
408418
<li><a href="https://cplusplus.github.io/LWG/issue4208" target="_blank">LWG 4208. Wording needs to ensure that in <code>connect(sndr, rcvr)</code> that <code>rcvr</code> expression is only evaluated once</a></li>
409419
</ul></div>
410420

reference/execution/execution/receiver.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2025-07-08T15:33:39">
204-
2025年07月08日 15時33分39秒
203+
<span itemprop="datePublished" content="2026-01-19T03:03:20">
204+
2026年01月19日 03時03分20秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
208-
<span itemprop="name">Akira Takahashi</span>
208+
<span itemprop="name">yoh</span>
209209
</span>
210210
が更新
211211
</small></p>
@@ -233,7 +233,8 @@
233233
<span class="p">{</span> <span class="n"><a href="get_env.html">get_env</a></span><span class="p">(</span><span class="n">rcvr</span><span class="p">)</span> <span class="p">}</span> <span class="o">-&gt;</span> <span class="n"><a href="../queryable.html">queryable</a></span><span class="p">;</span>
234234
<span class="p">}</span> <span class="o">&amp;&amp;</span>
235235
<span class="n"><a href="../../concepts/move_constructible.html">move_constructible</a></span><span class="o">&lt;</span><span class="n"><a href="../../type_traits/remove_cvref.html">remove_cvref_t</a></span><span class="o">&lt;</span><span class="n">Rcvr</span><span class="o">&gt;&gt;</span> <span class="o">&amp;&amp;</span>
236-
<span class="n"><a href="../../concepts/constructible_from.html">constructible_from</a></span><span class="o">&lt;</span><span class="n"><a href="../../type_traits/remove_cvref.html">remove_cvref_t</a></span><span class="o">&lt;</span><span class="n">Rcvr</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">Rcvr</span><span class="o">&gt;</span><span class="p">;</span>
236+
<span class="n"><a href="../../concepts/constructible_from.html">constructible_from</a></span><span class="o">&lt;</span><span class="n"><a href="../../type_traits/remove_cvref.html">remove_cvref_t</a></span><span class="o">&lt;</span><span class="n">Rcvr</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">Rcvr</span><span class="o">&gt;</span> <span class="o">&amp;&amp;</span>
237+
<span class="n"><a href="../../type_traits/is_nothrow_move_constructible.html">is_nothrow_move_constructible_v</a></span><span class="o">&lt;</span><span class="n"><a href="../../type_traits/remove_cvref.html">remove_cvref_t</a></span><span class="o">&lt;</span><span class="n">Rcvr</span><span class="o">&gt;&gt;</span><span class="p">;</span>
237238

238239
<span class="k">struct</span> <span class="n">receiver_t</span> <span class="p">{};</span> <span class="c1">// タグ型</span>
239240
<span class="p">}</span>
@@ -245,7 +246,7 @@ <h2>概要</h2>
245246
<ul>
246247
<li><code>receiver_t</code>をメンバ型<code>Rcvr::receiver_concept</code>として定義する</li>
247248
<li><code><a href="get_env.html">get_env</a></code><a href="../queryable.html">環境</a>を取得できる</li>
248-
<li>ムーブ可能</li>
249+
<li><a class="cpprefjp-defined-word" data-desc="問題が発生したときに、現在実行位置を過去に通過・記録した位置に戻し、文脈情報を添えて紐づけられた処理(例外ハンドラー)を呼び出す仕組み。またはその事態">例外</a>送出せずにムーブ構築可能</li>
249250
</ul>
250251
<h2>モデル</h2>
251252
<p><code>final</code>指定されたクラス型は<code>receiver</code>のモデルではない。</p>
@@ -288,6 +289,7 @@ <h2>関連項目</h2>
288289
<h2>参照</h2>
289290
<ul>
290291
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2300r10.html" target="_blank">P2300R10 <code>std::execution</code></a></li>
292+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3388r3.pdf" target="_blank">P3388R3 When Do You Know connect Doesn't Throw?</a></li>
291293
</ul></div>
292294

293295
</div>

0 commit comments

Comments
 (0)