2
2
<feed xmlns =" http://www.w3.org/2005/Atom" >
3
3
<title >cpprefjp - C++日本語リファレンス</title >
4
4
<link href =" https://cpprefjp.github.io" />
5
- <updated >2024-12-16T01:51:07.061611 </updated >
6
- <id >c11e615f-31f9-44a8-8723-1d66c1286eac </id >
5
+ <updated >2024-12-16T01:54:56.350331 </updated >
6
+ <id >d8c1fae4-ee1c-45c6-a8e9-6992bc4d995d </id >
7
7
8
8
9
+ <entry >
10
+ <title >コンストラクタ -- jthread::コンストラクタ : 表示崩れを修正</title >
11
+ <link href =" https://cpprefjp.github.io/reference/thread/jthread/op_constructor.html" />
12
+ <id >8cf3afda9d84d4b11909769986c644ae3095976c:reference/thread/jthread/op_constructor.md</id >
13
+ <updated >2024-12-16T10:51:53+09:00</updated >
14
+
15
+ <summary type =" html" >< pre>< code> diff --git a/reference/thread/jthread/op_constructor.md b/reference/thread/jthread/op_constructor.md
16
+ index e56789e7a..d6d6cee7a 100644
17
+ --- a/reference/thread/jthread/op_constructor.md
18
+ +++ b/reference/thread/jthread/op_constructor.md
19
+ @@ -60,14 +60,11 @@ jthread(jthread& amp;& amp;) noexcept; // (4) C++20
20
+ * std::forward[link /reference/utility/forward.md]
21
+
22
+ - この呼び出しでの戻り値は無視される。この関数呼び出しが例外を送出する場合、呼び出し元スレッドで[`std::terminate`](/reference/exception/terminate.md)が呼び出される
23
+ -- (3) :
24
+
25
+
26
+ ## 同期
27
+ - (2) : コンストラクタ呼び出しの完了は、`f`のコピーの呼び出し開始と同期する
28
+ -
29
+ -
30
+ -新しいスレッドを生成し、[`INVOKE`](/reference/concepts/Invoke.md)`(DECAY_COPY(`[`std::forward`](/reference/utility/forward.md)`& lt;F& gt;(f)), DECAY_COPY(`[`std::forward`](/reference/utility/forward.md)`& lt;Args& gt;(args))...)`を実行する。ただし`DECAY_COPY`は同コンストラクタを呼び出したスレッド上にて評価される。また`f`のコピーの戻り値は無視される。
31
+ + 新しいスレッドを生成し、[`INVOKE`](/reference/concepts/Invoke.md)`(DECAY_COPY(`[`std::forward`](/reference/utility/forward.md)`& lt;F& gt;(f)), DECAY_COPY(`[`std::forward`](/reference/utility/forward.md)`& lt;Args& gt;(args))...)`を実行する。ただし`DECAY_COPY`は同コンストラクタを呼び出したスレッド上にて評価される。また`f`のコピーの戻り値は無視される。
32
+ - `DECAY_COPY(x)`は `template & lt;class T& gt; typename std::decay& lt;T& gt;::type decay_copy(T& amp;& amp; v) { return` [`std::forward`](/reference/utility/forward.md)`& lt;T& gt;(v); }` と定義される。おおよそ、`x`が配列型なら先頭要素へのポインタ、`x`が関数型ならその関数ポインタ、`x`がコピーコンストラクト可能な型なら`x`からコピーされたオブジェクト、`x`がムーブコンストラクト可能な型なら`x`からムーブされたオブジェクトとなる。
33
+
34
+
35
+ < /code>< /pre> </summary >
36
+
37
+ <author >
38
+ <name >Akira Takahashi</name >
39
+
40
+ </author >
41
+ </entry >
42
+
9
43
<entry >
10
44
<title >cpprefjpでのMarkdown記法の制限と拡張 -- Markdown拡張: 「箇条書きの前に空行が必要」「コードブロックのあとに空行が必要」の制限がなくなったので削除 #1362</title >
11
45
<link href =" https://cpprefjp.github.io/start_editing/markdown_cpprefjp.html" />
@@ -163,170 +197,4 @@ index c8b9ef2e2..f57b71e1c 100644
163
197
</author >
164
198
</entry >
165
199
166
- <entry >
167
- <title >型の文脈でtypenameの省略を許可 [P0634R3] -- 誤ったコードブロック後のコード修飾を修正 (v2)</title >
168
- <link href =" https://cpprefjp.github.io/lang/cpp20/down_with_typename.html" />
169
- <id >587d612b99f621e8cb0777e689ee0247d055d750:lang/cpp20/down_with_typename.md</id >
170
- <updated >2024-12-11T11:53:37+09:00</updated >
171
-
172
- <summary type =" html" >< pre>< code> diff --git a/lang/cpp20/down_with_typename.md b/lang/cpp20/down_with_typename.md
173
- index 90eb921e4..edb703848 100644
174
- --- a/lang/cpp20/down_with_typename.md
175
- +++ b/lang/cpp20/down_with_typename.md
176
- @@ -52,7 +52,7 @@ template& lt;typename T& gt; void f() {
177
- void g(T::X); // エラー: void型の変数宣言
178
- }
179
- ```
180
- -- P0634R3[link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0634r3.html]
181
- +* P0634R3[link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0634r3.html]
182
-
183
- ## 例
184
- ```cpp example
185
- < /code>< /pre> </summary >
186
-
187
- <author >
188
- <name >Koichi Murase</name >
189
-
190
- </author >
191
- </entry >
192
-
193
- <entry >
194
- <title >formatter -- 誤ったコードブロック後のコード修飾を修正 (v2)</title >
195
- <link href =" https://cpprefjp.github.io/reference/chrono/day/formatter.html" />
196
- <id >587d612b99f621e8cb0777e689ee0247d055d750:reference/chrono/day/formatter.md</id >
197
- <updated >2024-12-11T11:53:37+09:00</updated >
198
-
199
- <summary type =" html" >< pre>< code> diff --git a/reference/chrono/day/formatter.md b/reference/chrono/day/formatter.md
200
- index 7dfaba5d4..9e5852b68 100644
201
- --- a/reference/chrono/day/formatter.md
202
- +++ b/reference/chrono/day/formatter.md
203
- @@ -32,7 +32,7 @@ int main()
204
- std::cout & lt;& lt; std::format(& #34;{:%e}& #34;, chrono::day{3}) & lt;& lt; std::endl;
205
- }
206
- ```
207
- -- std::format[link /reference/chrono/format.md]
208
- +* std::format[link /reference/chrono/format.md]
209
-
210
- ### 出力
211
- ```
212
- < /code>< /pre> </summary >
213
-
214
- <author >
215
- <name >Koichi Murase</name >
216
-
217
- </author >
218
- </entry >
219
-
220
- <entry >
221
- <title >formatter -- 誤ったコードブロック後のコード修飾を修正 (v2)</title >
222
- <link href =" https://cpprefjp.github.io/reference/chrono/duration/formatter.html" />
223
- <id >587d612b99f621e8cb0777e689ee0247d055d750:reference/chrono/duration/formatter.md</id >
224
- <updated >2024-12-11T11:53:37+09:00</updated >
225
-
226
- <summary type =" html" >< pre>< code> diff --git a/reference/chrono/duration/formatter.md b/reference/chrono/duration/formatter.md
227
- index 5c5fcf1f2..4e2fd8c0a 100644
228
- --- a/reference/chrono/duration/formatter.md
229
- +++ b/reference/chrono/duration/formatter.md
230
- @@ -59,7 +59,7 @@ int main()
231
- std::cout & lt;& lt; std::format(& #34;AM/PM : {:%p %I:00}& #34;, chrono::hours{15}) & lt;& lt; std::endl;
232
- }
233
- ```
234
- -- std::format[link /reference/chrono/format.md]
235
- +* std::format[link /reference/chrono/format.md]
236
-
237
- ### 出力
238
- ```
239
- < /code>< /pre> </summary >
240
-
241
- <author >
242
- <name >Koichi Murase</name >
243
-
244
- </author >
245
- </entry >
246
-
247
- <entry >
248
- <title >formatter -- 誤ったコードブロック後のコード修飾を修正 (v2)</title >
249
- <link href =" https://cpprefjp.github.io/reference/chrono/year/formatter.html" />
250
- <id >587d612b99f621e8cb0777e689ee0247d055d750:reference/chrono/year/formatter.md</id >
251
- <updated >2024-12-11T11:53:37+09:00</updated >
252
-
253
- <summary type =" html" >< pre>< code> diff --git a/reference/chrono/year/formatter.md b/reference/chrono/year/formatter.md
254
- index 56a21bc95..8ef3af181 100644
255
- --- a/reference/chrono/year/formatter.md
256
- +++ b/reference/chrono/year/formatter.md
257
- @@ -50,7 +50,7 @@ int main()
258
- std::cout & lt;& lt; std::format(std::locale(& #34;ja_JP.UTF-8& #34;), & #34;{:%EY}& #34;, chrono::year{2020}) & lt;& lt; std::endl;
259
- }
260
- ```
261
- -- std::format[link /reference/chrono/format.md]
262
- +* std::format[link /reference/chrono/format.md]
263
-
264
- ### 出力
265
- ```
266
- < /code>< /pre> </summary >
267
-
268
- <author >
269
- <name >Koichi Murase</name >
270
-
271
- </author >
272
- </entry >
273
-
274
- <entry >
275
- <title >operator-- -- 誤ったコードブロック後のコード修飾を修正 (v2)</title >
276
- <link href =" https://cpprefjp.github.io/reference/ranges/filter_view/iterator/op_decrement.html" />
277
- <id >587d612b99f621e8cb0777e689ee0247d055d750:reference/ranges/filter_view/iterator/op_decrement.md</id >
278
- <updated >2024-12-11T11:53:37+09:00</updated >
279
-
280
- <summary type =" html" >< pre>< code> diff --git a/reference/ranges/filter_view/iterator/op_decrement.md b/reference/ranges/filter_view/iterator/op_decrement.md
281
- index 79450e66d..6d8d25535 100644
282
- --- a/reference/ranges/filter_view/iterator/op_decrement.md
283
- +++ b/reference/ranges/filter_view/iterator/op_decrement.md
284
- @@ -24,7 +24,7 @@ do
285
- while (!invoke(*parent_-& gt;pred_, *current_));
286
- return *this;
287
- ```
288
- -- invoke[link /reference/functional/invoke.md]
289
- +* invoke[link /reference/functional/invoke.md]
290
-
291
- と等しい。
292
-
293
- < /code>< /pre> </summary >
294
-
295
- <author >
296
- <name >Koichi Murase</name >
297
-
298
- </author >
299
- </entry >
300
-
301
- <entry >
302
- <title >operator++ -- 誤ったコードブロック後のコード修飾を修正 (v2)</title >
303
- <link href =" https://cpprefjp.github.io/reference/ranges/filter_view/iterator/op_increment.html" />
304
- <id >587d612b99f621e8cb0777e689ee0247d055d750:reference/ranges/filter_view/iterator/op_increment.md</id >
305
- <updated >2024-12-11T11:53:37+09:00</updated >
306
-
307
- <summary type =" html" >< pre>< code> diff --git a/reference/ranges/filter_view/iterator/op_increment.md b/reference/ranges/filter_view/iterator/op_increment.md
308
- index 28de17ad0..f7985e01d 100644
309
- --- a/reference/ranges/filter_view/iterator/op_increment.md
310
- +++ b/reference/ranges/filter_view/iterator/op_increment.md
311
- @@ -26,9 +26,9 @@ current_ = ranges::find_if(
312
- ref(*parent_-& gt;pred_));
313
- return *this;
314
- ```
315
- -- ranges::find_if[link /reference/algorithm/ranges_find_if.md]
316
- -- ranges::end[link /reference/ranges/end.md]
317
- -- ref[link /reference/functional/ref.md]
318
- +* ranges::find_if[link /reference/algorithm/ranges_find_if.md]
319
- +* ranges::end[link /reference/ranges/end.md]
320
- +* ref[link /reference/functional/ref.md]
321
-
322
- と等しい。
323
-
324
- < /code>< /pre> </summary >
325
-
326
- <author >
327
- <name >Koichi Murase</name >
328
-
329
- </author >
330
- </entry >
331
-
332
200
</feed >
0 commit comments