22<feed xmlns =" http://www.w3.org/2005/Atom" >
33 <title >cpprefjp - C++日本語リファレンス</title >
44 <link href =" https://cpprefjp.github.io" />
5- <updated >2026-03-23T12:35:57.836096 </updated >
6- <id >6d4f2b9f-5ca8-47e2-8c35-504655a8cb89 </id >
5+ <updated >2026-03-23T14:16:50.539748 </updated >
6+ <id >7c07920a-c9a0-4239-8b2a-f4425151c60d </id >
77
88
9+ <entry >
10+ <title >format -- format : サンプルコードの出力を修正</title >
11+ <link href =" https://cpprefjp.github.io/reference/format/format.html" />
12+ <id >0fd244266081c2ea7358d81398a03077aa872b07:reference/format/format.md</id >
13+ <updated >2026-03-23T23:12:31+09:00</updated >
14+
15+ <summary type =" html" >< pre>< code> diff --git a/reference/format/format.md b/reference/format/format.md
16+ index b4265b9d8..be84af4fe 100644
17+ --- a/reference/format/format.md
18+ +++ b/reference/format/format.md
19+ @@ -581,11 +581,11 @@ int main()
20+
21+ #### 出力
22+ ```
23+ -[1, 2, 3]
24+ -[3, 2, 1]
25+ -[1, 2, 3]
26+ -{1: & #34;aaa& #34;, 2: & #34;bbb& #34;}
27+ -{1, 2, 3}
28+ +queue: [1, 2, 3]
29+ +priority_queue: [3, 2, 1]
30+ +stack: [1, 2, 3]
31+ +flat_map: {1: & #34;aaa& #34;, 2: & #34;bbb& #34;}
32+ +flat_set: {1, 2, 3}
33+ ```
34+
35+ ### `vector& lt;bool& gt;`を出力する (C++23)
36+ < /code>< /pre> </summary >
37+
38+ <author >
39+ <name >Raclamusi</name >
40+ <email >raclamusi@gmail.com</email >
41+ </author >
42+ </entry >
43+
944 <entry >
1045 <title >コルーチン [P0912R5] -- サンプルコードの include 不足のエラーを修正</title >
1146 <link href =" https://cpprefjp.github.io/lang/cpp20/coroutines.html" />
@@ -461,69 +496,4 @@ index 138cf80c9..f2801cd17 100644
461496 </author >
462497 </entry >
463498
464- <entry >
465- <title >new_handler -- new_handler : サンプルコードを修正</title >
466- <link href =" https://cpprefjp.github.io/reference/new/new_handler.html" />
467- <id >de4a627c65208fe72a3f2c5cf4f13b6cffac0c71:reference/new/new_handler.md</id >
468- <updated >2026-03-23T19:44:22+09:00</updated >
469-
470- <summary type =" html" >< pre>< code> diff --git a/reference/new/new_handler.md b/reference/new/new_handler.md
471- index 76fabfce4..dc4e9a4f7 100644
472- --- a/reference/new/new_handler.md
473- +++ b/reference/new/new_handler.md
474- @@ -41,7 +41,9 @@ int main()
475- std::new_handler handler = on_new_failed;
476- std::set_new_handler(handler);
477-
478- - int* p = new int[std::numeric_limits& lt;std::size_t& gt;::max()];
479- + auto n = std::numeric_limits& lt;std::size_t& gt;::max();
480- + int* p = new int[n];
481- + delete[] p;
482- }
483- ```
484- * std::new_handler[color ff0000]
485- < /code>< /pre> </summary >
486-
487- <author >
488- <name >Raclamusi</name >
489- <email >raclamusi@gmail.com</email >
490- </author >
491- </entry >
492-
493- <entry >
494- <title >set_new_handler -- new_handler : サンプルコードを修正</title >
495- <link href =" https://cpprefjp.github.io/reference/new/set_new_handler.html" />
496- <id >de4a627c65208fe72a3f2c5cf4f13b6cffac0c71:reference/new/set_new_handler.md</id >
497- <updated >2026-03-23T19:44:22+09:00</updated >
498-
499- <summary type =" html" >< pre>< code> diff --git a/reference/new/set_new_handler.md b/reference/new/set_new_handler.md
500- index 84341cddf..da5b23bc7 100644
501- --- a/reference/new/set_new_handler.md
502- +++ b/reference/new/set_new_handler.md
503- @@ -45,7 +45,9 @@ int main()
504- // new失敗時の動作をカスタマイズ
505- std::set_new_handler(on_new_failed);
506-
507- - int* p = new int[std::numeric_limits& lt;std::size_t& gt;::max()];
508- + auto n = std::numeric_limits& lt;std::size_t& gt;::max();
509- + int* p = new int[n];
510- + delete[] p;
511- }
512- ```
513- * std::set_new_handler[color ff0000]
514- @@ -57,5 +59,5 @@ int main()
515- メモリ確保に失敗した
516-
517- This application has requested the Runtime to terminate it in an unusual way.
518- -Please contact the application& #39;s support team for more information.& lt;/span& gt;
519- +Please contact the application& #39;s support team for more information.
520- ```
521- < /code>< /pre> </summary >
522-
523- <author >
524- <name >Raclamusi</name >
525- <email >raclamusi@gmail.com</email >
526- </author >
527- </entry >
528-
529499</feed >
0 commit comments