Skip to content

Commit e483bca

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 64c3101 commit e483bca

File tree

3 files changed

+33
-73
lines changed

3 files changed

+33
-73
lines changed

reference/execution/execution/upon_stopped.html

Lines changed: 3 additions & 3 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-06-03T09:13:45">
204-
2025年06月03日 09時13分45秒
203+
<span itemprop="datePublished" content="2025-08-08T05:30:48">
204+
2025年08月08日 05時30分48秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -240,7 +240,7 @@ <h2>効果</h2>
240240
<p><div class="codehilite"><pre><span></span><code><span class="n"><a href="transform_sender.html">transform_sender</a></span><span class="p">(</span><span class="n"><a href="get-domain-early.html">get-domain-early</a></span><span class="p">(</span><span class="n">sndr</span><span class="p">),</span> <span class="n"><a href="make-sender.html">make-sender</a></span><span class="p">(</span><span class="n">upon_stopped</span><span class="p">,</span> <span class="n">f</span><span class="p">,</span> <span class="n">sndr</span><span class="p">))</span>
241241
</code></pre></div>
242242
</p>
243-
<h3>Senderアルゴリズムタグ <code>upon_error</code></h3>
243+
<h3>Senderアルゴリズムタグ <code>upon_stopped</code></h3>
244244
<p>Senderアルゴリズム動作説明用のクラステンプレート<code><a href="impls-for.html">impls-for</a></code>に対して、下記の特殊化が定義される。</p>
245245
<p><div class="codehilite"><pre><span></span><code><span class="k">namespace</span> <span class="n">std</span><span class="o">::</span><span class="n">execution</span> <span class="p">{</span>
246246
<span class="k">template</span><span class="o">&lt;&gt;</span>

rss.xml

Lines changed: 29 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,37 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<link href="https://cpprefjp.github.io" />
5-
<updated>2025-08-07T14:53:47.090810</updated>
6-
<id>654e9be8-3d5b-44e0-94ef-2a126920777f</id>
5+
<updated>2025-08-08T05:34:33.235506</updated>
6+
<id>8077d696-6640-4ca7-acea-1e881db6ed36</id>
77

88

9+
<entry>
10+
<title>upon_stopped -- execution/upon_stopped: fix typo</title>
11+
<link href="https://cpprefjp.github.io/reference/execution/execution/upon_stopped.html"/>
12+
<id>7e7cde1c8c2275deeec2333c3fb2f37ab0118951:reference/execution/execution/upon_stopped.md</id>
13+
<updated>2025-08-08T14:30:48+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/execution/execution/upon_stopped.md b/reference/execution/execution/upon_stopped.md
16+
index dc0698ae6..6e2a712f0 100644
17+
--- a/reference/execution/execution/upon_stopped.md
18+
+++ b/reference/execution/execution/upon_stopped.md
19+
@@ -31,7 +31,7 @@ transform_sender(get-domain-early(sndr), make-sender(upon_stopped, f, sndr))
20+
* make-sender[link make-sender.md]
21+
22+
23+
-### Senderアルゴリズムタグ `upon_error`
24+
+### Senderアルゴリズムタグ `upon_stopped`
25+
Senderアルゴリズム動作説明用のクラステンプレート[`impls-for`](impls-for.md)に対して、下記の特殊化が定義される。
26+
27+
```cpp
28+
&lt;/code&gt;&lt;/pre&gt;</summary>
29+
30+
<author>
31+
<name>yoh</name>
32+
<email>[email protected]</email>
33+
</author>
34+
</entry>
35+
936
<entry>
1037
<title>stod -- fix typo in std::stod()</title>
1138
<link href="https://cpprefjp.github.io/reference/string/stod.html"/>
@@ -33,71 +60,4 @@ index cbf7ef217..2d61a8c0c 100644
3360
</author>
3461
</entry>
3562

36-
<entry>
37-
<title>schedule_from -- execution/schedule_from: LWG4198</title>
38-
<link href="https://cpprefjp.github.io/reference/execution/execution/schedule_from.html"/>
39-
<id>30b7ea69ca6bb4e84c07e08486a472e4c003c627:reference/execution/execution/schedule_from.md</id>
40-
<updated>2025-07-31T23:01:31+09:00</updated>
41-
42-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/execution/execution/schedule_from.md b/reference/execution/execution/schedule_from.md
43-
index 8c221273e..7b07f0cfe 100644
44-
--- a/reference/execution/execution/schedule_from.md
45-
+++ b/reference/execution/execution/schedule_from.md
46-
@@ -99,10 +99,10 @@ namespace std::execution {
47-
* schedule[link schedule.md]
48-
49-
- ローカルクラス`state-type`のオブジェクトは[構造化束縛](/lang/cpp17/structured_bindings.md)における初期化子として利用できる。
50-
-- 説明用のパック`Sigs`を[`completion_signatures_of_t`](completion_signatures_of_t.md)`&amp;lt;`[`child-type`](child-type.md)`&amp;lt;Sndr&amp;gt;,` [`FWD-ENV-T`](../forwarding_query.md)`(`[`env_of_t`](env_of_t.md)`&amp;lt;Rcvr&amp;gt;)&amp;gt;`による[`completion_signatures`](completion_signatures.md)特殊化のテンプレートパラメータと定義する。説明用のエイリアステンプレート`as-tuple&amp;lt;Tag(Args...)&amp;gt;`を[`decayed-tuple`](decayed-tuple.md)`&amp;lt;Args...&amp;gt;`と定義する。型`variant_t`は下記定義において重複削除した型となる。
51-
+- 説明用のパック`Sigs`を[`completion_signatures_of_t`](completion_signatures_of_t.md)`&amp;lt;`[`child-type`](child-type.md)`&amp;lt;Sndr&amp;gt;,` [`FWD-ENV-T`](../forwarding_query.md)`(`[`env_of_t`](env_of_t.md)`&amp;lt;Rcvr&amp;gt;)&amp;gt;`による[`completion_signatures`](completion_signatures.md)特殊化のテンプレートパラメータと定義する。説明用のエイリアステンプレート`as-tuple&amp;lt;Tag(Args...)&amp;gt;`を[`decayed-tuple`](decayed-tuple.md)`&amp;lt;Tag, Args...&amp;gt;`と定義し、説明用の変数テンプレート`is-nothrow-decay-copy-sig&amp;lt;Tag(Args...)&amp;gt;`を型`Args...`が全て例外送出せずdecayコピー可能ならば値`true`、そうでなければ`false`となる`bool const`型のコア定数式と定義する。説明用のパック`error-completion`を、`(is-nothrow-decay-copy-sig&amp;lt;Sigs&amp;gt; &amp;amp;&amp;amp;...)`が`false`ならば[`set_error_t`](set_error.md)`(`[`exception_ptr`](/reference/exception/exception_ptr.md)`)`、そうでなければ空のパックと定義する。型`variant_t`は下記定義において重複削除した型となる。
52-
53-
```cpp
54-
- variant&amp;lt;monostate, as-tuple&amp;lt;Sigs&amp;gt;...&amp;gt;
55-
+ variant&amp;lt;monostate, as-tuple&amp;lt;Sigs&amp;gt;..., error-completion...&amp;gt;
56-
```
57-
* variant[link /reference/variant/variant.md]
58-
* monostate[link /reference/variant/monostate.md]
59-
@@ -115,15 +115,13 @@ namespace std::execution {
60-
[]&amp;lt;class Tag, class... Args&amp;gt;(auto, auto&amp;amp; state, auto&amp;amp; rcvr, Tag, Args&amp;amp;&amp;amp;... args) noexcept
61-
-&amp;gt; void {
62-
using result_t = decayed-tuple&amp;lt;Tag, Args...&amp;gt;;
63-
- constexpr bool nothrow = is_nothrow_constructible_v&amp;lt;result_t, Tag, Args...&amp;gt;;
64-
+ constexpr bool nothrow = (is_nothrow_constructible_v&amp;lt;decay_t&amp;lt;Args&amp;gt;, Args&amp;gt; &amp;amp;&amp;amp; ...);
65-
66-
try {
67-
state.async-result.template emplace&amp;lt;result_t&amp;gt;(Tag(), std::forward&amp;lt;Args&amp;gt;(args)...);
68-
} catch (...) {
69-
- if constexpr (!nothrow) {
70-
- set_error(std::move(rcvr), current_exception());
71-
- return;
72-
- }
73-
+ if constexpr (!nothrow)
74-
+ state.async-result.template emplace&amp;lt;tuple&amp;lt;set_error_t, exception_ptr&amp;gt;&amp;gt;(set_error, current_exception());
75-
}
76-
start(state.op-state);
77-
};
78-
@@ -133,8 +131,9 @@ namespace std::execution {
79-
* start[link start.md]
80-
* is_nothrow_constructible_v[link /reference/type_traits/is_nothrow_constructible.md]
81-
* template emplace[link /reference/variant/variant/emplace.md]
82-
+* set_error_t[link set_error.md]
83-
+* exception_ptr[link /reference/exception/exception_ptr.md]
84-
* current_exception()[link /reference/exception/current_exception.md]
85-
-* std::move[link /reference/utility/move.md]
86-
87-
88-
## 説明専用エンティティ
89-
@@ -212,4 +211,5 @@ Senderアルゴリズム構築時および[Receiver](receiver.md)接続時に、
90-
- [P2999R3 Sender Algorithm Customization](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2999r3.html)
91-
- [P2300R10 `std::execution`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2300r10.html)
92-
- [P3396R1 std::execution wording fixes](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3396r1.html)
93-
+- [LWG 4198. `schedule_from` isn&amp;#39;t starting the schedule sender if decay-copying results throws](https://cplusplus.github.io/LWG/issue4198)
94-
- [LWG 4203. Constraints on `get-state` functions are incorrect](https://cplusplus.github.io/LWG/issue4203)
95-
&lt;/code&gt;&lt;/pre&gt;</summary>
96-
97-
<author>
98-
<name>yoh</name>
99-
<email>[email protected]</email>
100-
</author>
101-
</entry>
102-
10363
</feed>

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13870,7 +13870,7 @@
1387013870

1387113871
<url>
1387213872
<loc>https://cpprefjp.github.io/reference/execution/execution/upon_stopped.html</loc>
13873-
<lastmod>2025-07-22T23:37:52+09:00</lastmod>
13873+
<lastmod>2025-08-08T14:30:48+09:00</lastmod>
1387413874
<changefreq>daily</changefreq>
1387513875
<priority>0.6</priority>
1387613876
</url>

0 commit comments

Comments
 (0)