Skip to content

Commit c558b89

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 3308e6d commit c558b89

File tree

7 files changed

+139
-121
lines changed

7 files changed

+139
-121
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="mf">1f</span><span class="n">dmZflQJQJELUTiOwvozkfIjGTHizXPw</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>
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/fstream/basic_filebuf.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-05-28T09:17:52">
192-
2025年05月28日 09時17分52秒
191+
<span itemprop="datePublished" content="2025-05-28T09:29:15">
192+
2025年05月28日 09時29分15秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -312,8 +312,8 @@ <h3>オープンとクローズ</h3>
312312
</tbody>
313313
</table>
314314
<h3>環境固有の情報</h3>
315-
<p>| 名前 説明対応バージョン |
316-
|-----|-----|-------------|
315+
<p>| 名前 | 説明対応バージョン |
316+
|-----|------|--------------|
317317
| <code><a href="basic_filebuf/native_handle.html">native_handle()</a></code> | ネイティブハンドルを取得する[<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>] | C++26 |</p>
318318
<h3>オーバーライドされている関数</h3>
319319
<p>すべて<code>protected</code>で定義されている。</p>

reference/fstream/basic_fstream.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-05-28T09:17:52">
192-
2025年05月28日 09時17分52秒
191+
<span itemprop="datePublished" content="2025-05-28T09:29:15">
192+
2025年05月28日 09時29分15秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -277,8 +277,8 @@ <h2>メンバ関数</h2>
277277
</tbody>
278278
</table>
279279
<h3>ネイティブハンドルの取得</h3>
280-
<p>| 名前 | 説明対応バージョン |
281-
|-----|-----|-------------|
280+
<p>| 名前 | 説明対応バージョン |
281+
|-----|------|--------------|
282282
| <code><a href="basic_fstream/native_handle.html">native_handle()</a></code> | ネイティブハンドルを取得する[<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>] | C++26 |</p>
283283
<h2>非メンバ関数</h2>
284284
<table border="1" bordercolor="#888" style="border-collapse:collapse">

reference/fstream/basic_ifstream.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-05-28T09:17:52">
192-
2025年05月28日 09時17分52秒
191+
<span itemprop="datePublished" content="2025-05-28T09:29:15">
192+
2025年05月28日 09時29分15秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -277,8 +277,8 @@ <h2>メンバ関数</h2>
277277
</tbody>
278278
</table>
279279
<h3>ネイティブハンドルの取得</h3>
280-
<p>| 名前 | 説明対応バージョン |
281-
|-----|-----|-------------|
280+
<p>| 名前 | 説明対応バージョン |
281+
|-----|------|--------------|
282282
| <code><a href="basic_ifstream/native_handle.html">native_handle()</a></code> | ネイティブハンドルを取得する[<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>] | C++26 |</p>
283283
<h2>非メンバ関数</h2>
284284
<table border="1" bordercolor="#888" style="border-collapse:collapse">

reference/fstream/basic_ofstream.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-05-28T09:17:52">
192-
2025年05月28日 09時17分52秒
191+
<span itemprop="datePublished" content="2025-05-28T09:29:15">
192+
2025年05月28日 09時29分15秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -277,8 +277,8 @@ <h2>メンバ関数</h2>
277277
</tbody>
278278
</table>
279279
<h3>ネイティブハンドルの取得</h3>
280-
<p>| 名前 | 説明対応バージョン |
281-
|-----|-----|-------------|
280+
<p>| 名前 | 説明対応バージョン |
281+
|-----|------|--------------|
282282
| <code><a href="basic_ofstream/native_handle.html">native_handle()</a></code> | ネイティブハンドルを取得する[<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>] | C++26 |</p>
283283
<h2>非メンバ関数</h2>
284284
<table border="1" bordercolor="#888" style="border-collapse:collapse">

rss.xml

Lines changed: 118 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,126 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<link href="https://cpprefjp.github.io" />
5-
<updated>2025-05-28T09:23:23.762381</updated>
6-
<id>3fcb7494-2519-4849-b3f5-40fc3c71528d</id>
5+
<updated>2025-05-28T09:32:47.915574</updated>
6+
<id>c54fe045-d901-483a-a3bd-eda85b09b679</id>
77

88

9+
<entry>
10+
<title>basic_filebuf -- 表の表示崩れを修正</title>
11+
<link href="https://cpprefjp.github.io/reference/fstream/basic_filebuf.html"/>
12+
<id>16242c558605d77ff06276bab29d0701fdc2c0a9:reference/fstream/basic_filebuf.md</id>
13+
<updated>2025-05-28T18:29:15+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/fstream/basic_filebuf.md b/reference/fstream/basic_filebuf.md
16+
index 110b46a66..5f8acb66e 100644
17+
--- a/reference/fstream/basic_filebuf.md
18+
+++ b/reference/fstream/basic_filebuf.md
19+
@@ -51,8 +51,8 @@ Cの`FILE*`に対する入出力関数を使って実装される。
20+
21+
### 環境固有の情報
22+
23+
-| 名前 | 説明|対応バージョン |
24+
-|-----|-----|-------------|
25+
+| 名前 | 説明 | 対応バージョン |
26+
+|-----|------|--------------|
27+
| [`native_handle()`](basic_filebuf/native_handle.md) | ネイティブハンドルを取得する[処理系定義] | C++26 |
28+
29+
30+
&lt;/code&gt;&lt;/pre&gt;</summary>
31+
32+
<author>
33+
<name>Akira Takahashi</name>
34+
<email>[email protected]</email>
35+
</author>
36+
</entry>
37+
38+
<entry>
39+
<title>basic_fstream -- 表の表示崩れを修正</title>
40+
<link href="https://cpprefjp.github.io/reference/fstream/basic_fstream.html"/>
41+
<id>16242c558605d77ff06276bab29d0701fdc2c0a9:reference/fstream/basic_fstream.md</id>
42+
<updated>2025-05-28T18:29:15+09:00</updated>
43+
44+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/fstream/basic_fstream.md b/reference/fstream/basic_fstream.md
45+
index 38d2bd7be..6db7c5139 100644
46+
--- a/reference/fstream/basic_fstream.md
47+
+++ b/reference/fstream/basic_fstream.md
48+
@@ -34,8 +34,8 @@ namespace std {
49+
50+
### ネイティブハンドルの取得
51+
52+
-| 名前 | 説明|対応バージョン |
53+
-|-----|-----|-------------|
54+
+| 名前 | 説明 | 対応バージョン |
55+
+|-----|------|--------------|
56+
| [`native_handle()`](basic_fstream/native_handle.md) | ネイティブハンドルを取得する[処理系定義] | C++26 |
57+
58+
59+
&lt;/code&gt;&lt;/pre&gt;</summary>
60+
61+
<author>
62+
<name>Akira Takahashi</name>
63+
<email>[email protected]</email>
64+
</author>
65+
</entry>
66+
67+
<entry>
68+
<title>basic_ifstream -- 表の表示崩れを修正</title>
69+
<link href="https://cpprefjp.github.io/reference/fstream/basic_ifstream.html"/>
70+
<id>16242c558605d77ff06276bab29d0701fdc2c0a9:reference/fstream/basic_ifstream.md</id>
71+
<updated>2025-05-28T18:29:15+09:00</updated>
72+
73+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/fstream/basic_ifstream.md b/reference/fstream/basic_ifstream.md
74+
index 6c1b64081..fd40a5789 100644
75+
--- a/reference/fstream/basic_ifstream.md
76+
+++ b/reference/fstream/basic_ifstream.md
77+
@@ -35,8 +35,8 @@ namespace std {
78+
79+
### ネイティブハンドルの取得
80+
81+
-| 名前 | 説明|対応バージョン |
82+
-|-----|-----|-------------|
83+
+| 名前 | 説明 | 対応バージョン |
84+
+|-----|------|--------------|
85+
| [`native_handle()`](basic_ifstream/native_handle.md) | ネイティブハンドルを取得する[処理系定義] | C++26 |
86+
87+
88+
&lt;/code&gt;&lt;/pre&gt;</summary>
89+
90+
<author>
91+
<name>Akira Takahashi</name>
92+
<email>[email protected]</email>
93+
</author>
94+
</entry>
95+
96+
<entry>
97+
<title>basic_ofstream -- 表の表示崩れを修正</title>
98+
<link href="https://cpprefjp.github.io/reference/fstream/basic_ofstream.html"/>
99+
<id>16242c558605d77ff06276bab29d0701fdc2c0a9:reference/fstream/basic_ofstream.md</id>
100+
<updated>2025-05-28T18:29:15+09:00</updated>
101+
102+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/fstream/basic_ofstream.md b/reference/fstream/basic_ofstream.md
103+
index 1bc10e0d7..f370f905a 100644
104+
--- a/reference/fstream/basic_ofstream.md
105+
+++ b/reference/fstream/basic_ofstream.md
106+
@@ -35,8 +35,8 @@ namespace std {
107+
108+
### ネイティブハンドルの取得
109+
110+
-| 名前 | 説明|対応バージョン |
111+
-|-----|-----|-------------|
112+
+| 名前 | 説明 | 対応バージョン |
113+
+|-----|------|--------------|
114+
| [`native_handle()`](basic_ofstream/native_handle.md) | ネイティブハンドルを取得する[処理系定義] | C++26 |
115+
116+
117+
&lt;/code&gt;&lt;/pre&gt;</summary>
118+
119+
<author>
120+
<name>Akira Takahashi</name>
121+
<email>[email protected]</email>
122+
</author>
123+
</entry>
124+
9125
<entry>
10126
<title>native_handle -- コード修飾ミスを修正</title>
11127
<link href="https://cpprefjp.github.io/reference/fstream/basic_filebuf/native_handle.html"/>
@@ -848,104 +964,6 @@ index 34e226e4f..ddccc8f3c 100644
848964
+* ofs.is_open[link basic_ofstream/is_open.md]
849965
+* ofs.close[link basic_ofstream/close.md]
850966

851-
&lt;/code&gt;&lt;/pre&gt;</summary>
852-
853-
<author>
854-
<name>Akira Takahashi</name>
855-
<email>[email protected]</email>
856-
</author>
857-
</entry>
858-
859-
<entry>
860-
<title>basic_ifstream -- basic_ifstream, basic_ofstream : サンプルコードを追加</title>
861-
<link href="https://cpprefjp.github.io/reference/fstream/basic_ifstream.html"/>
862-
<id>3a27b55ef5f235a317e5a0e7767db1ad05b77998:reference/fstream/basic_ifstream.md</id>
863-
<updated>2025-05-28T17:27:36+09:00</updated>
864-
865-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/fstream/basic_ifstream.md b/reference/fstream/basic_ifstream.md
866-
index 5f0a699a6..c15e79c2c 100644
867-
--- a/reference/fstream/basic_ifstream.md
868-
+++ b/reference/fstream/basic_ifstream.md
869-
@@ -50,3 +50,32 @@ namespace std {
870-
| `off_type` | `Traits::off_type` | |
871-
| `traits_type` | テンプレート仮引数`Traits` | |
872-
873-
+## 例
874-
+```cpp example
875-
+#include &amp;lt;fstream&amp;gt;
876-
+#include &amp;lt;iostream&amp;gt;
877-
+#include &amp;lt;string&amp;gt;
878-
+
879-
+int main() {
880-
+ // example.txtファイルを読み取り専用で開く
881-
+ std::ifstream ifs(&amp;#34;example.txt&amp;#34;);
882-
+ if (!ifs.is_open()) {
883-
+ std::cerr &amp;lt;&amp;lt; &amp;#34;ファイルを開けませんでした&amp;#34; &amp;lt;&amp;lt; std::endl;
884-
+ return 1;
885-
+ }
886-
+
887-
+ // ファイルの内容を1行ずつ読み取り、出力する
888-
+ std::string line;
889-
+ while (std::getline(ifs, line)) {
890-
+ std::cout &amp;lt;&amp;lt; line &amp;lt;&amp;lt; std::endl;
891-
+ }
892-
+
893-
+ // ファイルを閉じる (デストラクタでも自動的に閉じられる)
894-
+ ifs.close();
895-
+}
896-
+```
897-
+* std::ifstream[color ff0000]
898-
+* ifs.is_open[link ifstream/is_open.md]
899-
+* ifs.close[link ifstream/close.md]
900-
+* std::getline[link /reference/string/basic_string/getline.md]
901-
+
902-
&lt;/code&gt;&lt;/pre&gt;</summary>
903-
904-
<author>
905-
<name>Akira Takahashi</name>
906-
<email>[email protected]</email>
907-
</author>
908-
</entry>
909-
910-
<entry>
911-
<title>basic_ofstream -- basic_ifstream, basic_ofstream : サンプルコードを追加</title>
912-
<link href="https://cpprefjp.github.io/reference/fstream/basic_ofstream.html"/>
913-
<id>3a27b55ef5f235a317e5a0e7767db1ad05b77998:reference/fstream/basic_ofstream.md</id>
914-
<updated>2025-05-28T17:27:36+09:00</updated>
915-
916-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/fstream/basic_ofstream.md b/reference/fstream/basic_ofstream.md
917-
index 4f02d74d5..34e226e4f 100644
918-
--- a/reference/fstream/basic_ofstream.md
919-
+++ b/reference/fstream/basic_ofstream.md
920-
@@ -50,3 +50,28 @@ namespace std {
921-
| `off_type` | `Traits::off_type` | |
922-
| `traits_type` | テンプレート仮引数`Traits` | |
923-
924-
+## 例
925-
+```cpp example
926-
+#include &amp;lt;fstream&amp;gt;
927-
+#include &amp;lt;iostream&amp;gt;
928-
+#include &amp;lt;string&amp;gt;
929-
+
930-
+int main() {
931-
+ // example.txtファイルを出力専用で開く
932-
+ std::ofstream ofs(&amp;#34;example.txt&amp;#34;);
933-
+ if (!ofs.is_open()) {
934-
+ std::cerr &amp;lt;&amp;lt; &amp;#34;ファイルを開けませんでした&amp;#34; &amp;lt;&amp;lt; std::endl;
935-
+ return 1;
936-
+ }
937-
+
938-
+ // ファイルに文字列を書き込む
939-
+ ofs &amp;lt;&amp;lt; &amp;#34;Hello, world!&amp;#34; &amp;lt;&amp;lt; std::endl;
940-
+
941-
+ // ファイルを閉じる (デストラクタでも自動的に閉じられる)
942-
+ ofs.close();
943-
+}
944-
+```
945-
+* std::ofstream[color ff0000]
946-
+* ofs.is_open[link ofstream/is_open.md]
947-
+* ofs.close[link ofstream/close.md]
948-
+
949967
&lt;/code&gt;&lt;/pre&gt;</summary>
950968

951969
<author>

sitemap.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12512,28 +12512,28 @@
1251212512

1251312513
<url>
1251412514
<loc>https://cpprefjp.github.io/reference/fstream/basic_filebuf.html</loc>
12515-
<lastmod>2025-05-28T18:17:52+09:00</lastmod>
12515+
<lastmod>2025-05-28T18:29:15+09:00</lastmod>
1251612516
<changefreq>daily</changefreq>
1251712517
<priority>0.7</priority>
1251812518
</url>
1251912519

1252012520
<url>
1252112521
<loc>https://cpprefjp.github.io/reference/fstream/basic_fstream.html</loc>
12522-
<lastmod>2025-05-28T18:17:52+09:00</lastmod>
12522+
<lastmod>2025-05-28T18:29:15+09:00</lastmod>
1252312523
<changefreq>daily</changefreq>
1252412524
<priority>0.7</priority>
1252512525
</url>
1252612526

1252712527
<url>
1252812528
<loc>https://cpprefjp.github.io/reference/fstream/basic_ifstream.html</loc>
12529-
<lastmod>2025-05-28T18:17:52+09:00</lastmod>
12529+
<lastmod>2025-05-28T18:29:15+09:00</lastmod>
1253012530
<changefreq>daily</changefreq>
1253112531
<priority>0.7</priority>
1253212532
</url>
1253312533

1253412534
<url>
1253512535
<loc>https://cpprefjp.github.io/reference/fstream/basic_ofstream.html</loc>
12536-
<lastmod>2025-05-28T18:17:52+09:00</lastmod>
12536+
<lastmod>2025-05-28T18:29:15+09:00</lastmod>
1253712537
<changefreq>daily</changefreq>
1253812538
<priority>0.7</priority>
1253912539
</url>

0 commit comments

Comments
 (0)