Skip to content

Commit 6b98bad

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 863bb97 commit 6b98bad

File tree

6 files changed

+126
-139
lines changed

6 files changed

+126
-139
lines changed

lang/cpp26/contracts.html

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

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-04-23T03:06:32">
192-
2025年04月23日 03時06分32秒
191+
<span itemprop="datePublished" content="2025-07-09T11:30:38">
192+
2025年07月09日 11時30分38秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">rotarymars</span>
196+
<span itemprop="name">Koichi Murase</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -282,7 +282,7 @@ <h4><a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成
282282
</code></pre></div>
283283

284284
ここでは、<code>increment</code>関数の<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a><code>x + 1</code>であることを<a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Postconditions。関数を実行後に満たされている条件。契約属性の`[[ensures]]`に相当">事後条件</a>として指定している。</p>
285-
<p><code>post</code>では、返り値を<code>r</code>としてバインドし、条件式内で利用している。ここには、任意の変数名が使用できる。変数は定数(<code>const</code>)な左辺値参照である。</p>
285+
<p><code>post</code>では、<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a><code>r</code>としてバインドし、条件式内で利用している。ここには、任意の変数名が使用できる。変数は定数(<code>const</code>)な左辺値参照である。</p>
286286
<p><a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Postconditions。関数を実行後に満たされている条件。契約属性の`[[ensures]]`に相当">事後条件</a>の結果名導入子(result-name-introducer)は省略可能である。特に、<code>void</code>を返す関数では、<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>を参照する必要がない場合に省略できる。</p>
287287
<p><div class="codehilite"><pre><span></span><code><span class="k">class</span> <span class="nc">Container</span> <span class="p">{</span>
288288
<span class="c1">// ...</span>

reference/cstdlib/atof.html

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

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-07-07T09:09:51">
192-
2025年07月07日 09時09分51秒
191+
<span itemprop="datePublished" content="2025-07-09T11:30:38">
192+
2025年07月09日 11時30分38秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">Koichi Murase</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -229,7 +229,7 @@ <h2>変換方法</h2>
229229
<li><code>INF</code>または<code>INFINITY</code>(大小文字区別せず)は<code>inf</code>を返す。</li>
230230
<li>NAN(大小文字区別せず)はそれ以前の数値を返す。もし以前の数値がないなら、<code>nan</code>を返す。</li>
231231
</ul>
232-
<h2>返り値</h2>
232+
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
233233
<p>変換可能ならば変換後の数値。</p>
234234
<p>変換後の数値が<code>float</code>の範囲外なら、その<a class="cpprefjp-defined-word" data-desc="未定義の動作。処理系は予期せぬ動作をする可能性がある。要するに動作保証対象外。undefined behavior (UB)。" href="../../implementation-compliance.html#dfn-undefined-behavior">動作は未定義</a>である。</p>
235235
<p>変換不能なら<code>0.0</code>を返す。</p>

reference/cstdlib/atoi_atol_atoll.html

Lines changed: 3 additions & 3 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-07-09T11:18:31">
192-
2025年07月09日 11時18分31秒
191+
<span itemprop="datePublished" content="2025-07-09T11:28:40">
192+
2025年07月09日 11時28分40秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -268,7 +268,7 @@ <h2>参照</h2>
268268
<li><a href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2310.pdf" target="_blank">C N2310: 7.22.1.2 The atoi, atol, and atoll functions (p: 249)</a></li>
269269
<li><a href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1548.pdf" target="_blank">C N1548: 7.22.1.2 The atoi, atol, and atoll functions (p: 341)</a></li>
270270
<li>C99: 7.20.1.2 The atoi, atol, and atoll functions (p: 307)</li>
271-
<li>C99: 4.10.1.2 The atoi function</li>
271+
<li>C90: 4.10.1.2 The atoi function</li>
272272
</ul></div>
273273

274274
</div>

reference/cstdlib/getenv.html

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

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-07-07T09:06:34">
192-
2025年07月07日 09時06分34秒
191+
<span itemprop="datePublished" content="2025-07-09T11:30:38">
192+
2025年07月09日 11時30分38秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">Koichi Murase</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -220,7 +220,7 @@
220220
</p>
221221
<h2>概要</h2>
222222
<p>ホスト環境(OS)が提供する環境リストから、Cストリング<code>env_var</code>と一致する文字列を検索、一致したもののポインタを返す</p>
223-
<h2>返り値</h2>
223+
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
224224
<p>一致したものがあれば環境変数を保持した文字列、なければヌルポインタを返す</p>
225225
<h2>備考</h2>
226226
<p>C++11以前は、他の関数でホスト環境が変更されなければ、この関数はスレッドセーフである。(他のスレッドで呼び出された場合でも)</p>

rss.xml

Lines changed: 107 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,115 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<link href="https://cpprefjp.github.io" />
5-
<updated>2025-07-09T11:25:02.246731</updated>
6-
<id>ba6c98fd-e77f-4640-a0ac-9407f997cf1e</id>
5+
<updated>2025-07-09T11:37:47.051505</updated>
6+
<id>37125743-f912-45b9-b8ce-8d6704ffb768</id>
77

88

9+
<entry>
10+
<title>契約プログラミング [P2900R14] -- style: &#34;返り値&#34;&#34;戻り値&#34;</title>
11+
<link href="https://cpprefjp.github.io/lang/cpp26/contracts.html"/>
12+
<id>b3bdbe326cedaa4e50584f0b88e594abf8f577e0:lang/cpp26/contracts.md</id>
13+
<updated>2025-07-09T20:30:38+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/lang/cpp26/contracts.md b/lang/cpp26/contracts.md
16+
index 0d82b64e6..e2e57725f 100644
17+
--- a/lang/cpp26/contracts.md
18+
+++ b/lang/cpp26/contracts.md
19+
@@ -78,7 +78,7 @@ int increment(int x)
20+
```
21+
ここでは、`increment`関数の戻り値が`x + 1`であることを事後条件として指定している。
22+
23+
-`post`では、返り値を`r`としてバインドし、条件式内で利用している。ここには、任意の変数名が使用できる。変数は定数(`const`)な左辺値参照である。
24+
+`post`では、戻り値を`r`としてバインドし、条件式内で利用している。ここには、任意の変数名が使用できる。変数は定数(`const`)な左辺値参照である。
25+
26+
事後条件の結果名導入子(result-name-introducer)は省略可能である。特に、`void`を返す関数では、戻り値を参照する必要がない場合に省略できる。
27+
28+
&lt;/code&gt;&lt;/pre&gt;</summary>
29+
30+
<author>
31+
<name>Koichi Murase</name>
32+
<email>[email protected]</email>
33+
</author>
34+
</entry>
35+
36+
<entry>
37+
<title>atof -- style: &#34;返り値&#34;&#34;戻り値&#34;</title>
38+
<link href="https://cpprefjp.github.io/reference/cstdlib/atof.html"/>
39+
<id>b3bdbe326cedaa4e50584f0b88e594abf8f577e0:reference/cstdlib/atof.md</id>
40+
<updated>2025-07-09T20:30:38+09:00</updated>
41+
42+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/cstdlib/atof.md b/reference/cstdlib/atof.md
43+
index 8a2a2d64d..4a54ad8b0 100644
44+
--- a/reference/cstdlib/atof.md
45+
+++ b/reference/cstdlib/atof.md
46+
@@ -23,7 +23,7 @@ namespace std {
47+
- NAN(大小文字区別せず)はそれ以前の数値を返す。もし以前の数値がないなら、`nan`を返す。
48+
49+
50+
-## 返り値
51+
+## 戻り値
52+
53+
変換可能ならば変換後の数値。
54+
55+
&lt;/code&gt;&lt;/pre&gt;</summary>
56+
57+
<author>
58+
<name>Koichi Murase</name>
59+
<email>[email protected]</email>
60+
</author>
61+
</entry>
62+
63+
<entry>
64+
<title>getenv -- style: &#34;返り値&#34;&#34;戻り値&#34;</title>
65+
<link href="https://cpprefjp.github.io/reference/cstdlib/getenv.html"/>
66+
<id>b3bdbe326cedaa4e50584f0b88e594abf8f577e0:reference/cstdlib/getenv.md</id>
67+
<updated>2025-07-09T20:30:38+09:00</updated>
68+
69+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/cstdlib/getenv.md b/reference/cstdlib/getenv.md
70+
index f99577bb6..971676c03 100644
71+
--- a/reference/cstdlib/getenv.md
72+
+++ b/reference/cstdlib/getenv.md
73+
@@ -13,7 +13,7 @@ namespace std {
74+
75+
ホスト環境(OS)が提供する環境リストから、Cストリング`env_var`と一致する文字列を検索、一致したもののポインタを返す
76+
77+
-## 返り値
78+
+## 戻り値
79+
80+
一致したものがあれば環境変数を保持した文字列、なければヌルポインタを返す
81+
82+
&lt;/code&gt;&lt;/pre&gt;</summary>
83+
84+
<author>
85+
<name>Koichi Murase</name>
86+
<email>[email protected]</email>
87+
</author>
88+
</entry>
89+
90+
<entry>
91+
<title>atoi,atol,atoll -- fix(reference/cstdlib/atoi): C99 がリンクされていたが 4.10.1.2 は C90 の節番号</title>
92+
<link href="https://cpprefjp.github.io/reference/cstdlib/atoi_atol_atoll.html"/>
93+
<id>a1063063b08fb020bfb98780f8f8a70c7b4bd864:reference/cstdlib/atoi_atol_atoll.md</id>
94+
<updated>2025-07-09T20:28:40+09:00</updated>
95+
96+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/cstdlib/atoi_atol_atoll.md b/reference/cstdlib/atoi_atol_atoll.md
97+
index 8db513d2e..9e43b155f 100644
98+
--- a/reference/cstdlib/atoi_atol_atoll.md
99+
+++ b/reference/cstdlib/atoi_atol_atoll.md
100+
@@ -74,4 +74,4 @@ int main(void)
101+
- [C N2310: 7.22.1.2 The atoi, atol, and atoll functions (p: 249)](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2310.pdf)
102+
- [C N1548: 7.22.1.2 The atoi, atol, and atoll functions (p: 341)](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1548.pdf)
103+
- C99: 7.20.1.2 The atoi, atol, and atoll functions (p: 307)
104+
-- C99: 4.10.1.2 The atoi function
105+
+- C90: 4.10.1.2 The atoi function
106+
&lt;/code&gt;&lt;/pre&gt;</summary>
107+
108+
<author>
109+
<name>Koichi Murase</name>
110+
<email>[email protected]</email>
111+
</author>
112+
</entry>
113+
9114
<entry>
10115
<title>atoi,atol,atoll -- fix(reference/cstdlib/{calloc,atoi}): リンク削除</title>
11116
<link href="https://cpprefjp.github.io/reference/cstdlib/atoi_atol_atoll.html"/>
@@ -203,122 +308,4 @@ index 6fd982735..e47491bc4 100644
203308
</author>
204309
</entry>
205310

206-
<entry>
207-
<title>calloc -- fix(reference/cstdlib/calloc): リンク修正</title>
208-
<link href="https://cpprefjp.github.io/reference/cstdlib/calloc.html"/>
209-
<id>68aec4c8c9808ad6f7c83d0eaf4290930f2d93bf:reference/cstdlib/calloc.md</id>
210-
<updated>2025-07-09T19:59:06+09:00</updated>
211-
212-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/cstdlib/calloc.md b/reference/cstdlib/calloc.md
213-
index 834985107..b87ab7a67 100644
214-
--- a/reference/cstdlib/calloc.md
215-
+++ b/reference/cstdlib/calloc.md
216-
@@ -25,7 +25,6 @@ namespace std {
217-
## 備考
218-
219-
- `calloc`・`malloc`・`realloc` によって複数個の異なる領域が確保された場合、それらの連続性や順序は保証されない。
220-
-
221-
- メモリリークを避けるため、この関数で確保したメモリは、`free`などを使い、メモリ解放するべきである。
222-
223-
## 例
224-
@@ -67,4 +66,4 @@ p2[3] == 0
225-
226-
## 参照
227-
228-
--[7.20.3 Memory management functions](&amp;#34;https://www.dii.uchile.cl/~daespino/files/Iso_C_1999_definition.pdf&amp;#34;)
229-
+- [7.20.3 Memory management functions](https://www.dii.uchile.cl/~daespino/files/Iso_C_1999_definition.pdf) [PDF]
230-
&lt;/code&gt;&lt;/pre&gt;</summary>
231-
232-
<author>
233-
<name>Koichi Murase</name>
234-
<email>[email protected]</email>
235-
</author>
236-
</entry>
237-
238-
<entry>
239-
<title>operator= -- add throw() to bad_typeid functions in C++03</title>
240-
<link href="https://cpprefjp.github.io/reference/typeinfo/bad_typeid/op_assign.html"/>
241-
<id>ef4e148c12f41566e1a169eafb389a8927c7e56c:reference/typeinfo/bad_typeid/op_assign.md</id>
242-
<updated>2025-07-09T20:01:32+09:00</updated>
243-
244-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/typeinfo/bad_typeid/op_assign.md b/reference/typeinfo/bad_typeid/op_assign.md
245-
index 7b079b9cf..2201791db 100644
246-
--- a/reference/typeinfo/bad_typeid/op_assign.md
247-
+++ b/reference/typeinfo/bad_typeid/op_assign.md
248-
@@ -5,7 +5,7 @@
249-
* function[meta id-type]
250-
251-
```cpp
252-
-bad_typeid&amp;amp; operator=(const bad_typeid&amp;amp;); // (1) C++03
253-
+bad_typeid&amp;amp; operator=(const bad_typeid&amp;amp;) throw(); // (1) C++03
254-
bad_typeid&amp;amp; operator=(const bad_typeid&amp;amp;) noexcept; // (1) C++11
255-
constexpr bad_typeid&amp;amp; operator=(const bad_typeid&amp;amp;) noexcept; // (1) C++26
256-
```
257-
&lt;/code&gt;&lt;/pre&gt;</summary>
258-
259-
<author>
260-
<name>suomesta</name>
261-
<email>[email protected]</email>
262-
</author>
263-
</entry>
264-
265-
<entry>
266-
<title>コンストラクタ -- add throw() to bad_typeid functions in C++03</title>
267-
<link href="https://cpprefjp.github.io/reference/typeinfo/bad_typeid/op_constructor.html"/>
268-
<id>ef4e148c12f41566e1a169eafb389a8927c7e56c:reference/typeinfo/bad_typeid/op_constructor.md</id>
269-
<updated>2025-07-09T20:01:32+09:00</updated>
270-
271-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/typeinfo/bad_typeid/op_constructor.md b/reference/typeinfo/bad_typeid/op_constructor.md
272-
index 57f93675b..5267ac55d 100644
273-
--- a/reference/typeinfo/bad_typeid/op_constructor.md
274-
+++ b/reference/typeinfo/bad_typeid/op_constructor.md
275-
@@ -5,11 +5,11 @@
276-
* function[meta id-type]
277-
278-
```cpp
279-
-bad_typeid(); // (1) C++03
280-
+bad_typeid() throw(); // (1) C++03
281-
bad_typeid() noexcept; // (1) C++11
282-
constexpr bad_typeid() noexcept; // (1) C++26
283-
284-
-bad_typeid(const bad_typeid&amp;amp;); // (2) C++03
285-
+bad_typeid(const bad_typeid&amp;amp;) throw(); // (2) C++03
286-
bad_typeid(const bad_typeid&amp;amp;) noexcept; // (2) C++11
287-
constexpr bad_typeid(const bad_typeid&amp;amp;) noexcept; // (2) C++26
288-
```
289-
&lt;/code&gt;&lt;/pre&gt;</summary>
290-
291-
<author>
292-
<name>suomesta</name>
293-
<email>[email protected]</email>
294-
</author>
295-
</entry>
296-
297-
<entry>
298-
<title>what -- add throw() to bad_typeid functions in C++03</title>
299-
<link href="https://cpprefjp.github.io/reference/typeinfo/bad_typeid/what.html"/>
300-
<id>ef4e148c12f41566e1a169eafb389a8927c7e56c:reference/typeinfo/bad_typeid/what.md</id>
301-
<updated>2025-07-09T20:01:32+09:00</updated>
302-
303-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/typeinfo/bad_typeid/what.md b/reference/typeinfo/bad_typeid/what.md
304-
index d19231428..7ed42d333 100644
305-
--- a/reference/typeinfo/bad_typeid/what.md
306-
+++ b/reference/typeinfo/bad_typeid/what.md
307-
@@ -5,7 +5,7 @@
308-
* function[meta id-type]
309-
310-
```cpp
311-
-virtual const char* what() const; // (1) C++03
312-
+virtual const char* what() const throw(); // (1) C++03
313-
virtual const char* what() const noexcept; // (1) C++11
314-
const char* what() const noexcept override; // (1) C++17
315-
constexpr const char* what() const noexcept override; // (1) C++26
316-
&lt;/code&gt;&lt;/pre&gt;</summary>
317-
318-
<author>
319-
<name>suomesta</name>
320-
<email>[email protected]</email>
321-
</author>
322-
</entry>
323-
324311
</feed>

sitemap.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31384,7 +31384,7 @@
3138431384

3138531385
<url>
3138631386
<loc>https://cpprefjp.github.io/reference/cstdlib/getenv.html</loc>
31387-
<lastmod>2025-07-07T18:06:34+09:00</lastmod>
31387+
<lastmod>2025-07-09T20:30:38+09:00</lastmod>
3138831388
<changefreq>daily</changefreq>
3138931389
<priority>0.7</priority>
3139031390
</url>
@@ -31496,7 +31496,7 @@
3149631496

3149731497
<url>
3149831498
<loc>https://cpprefjp.github.io/reference/cstdlib/atof.html</loc>
31499-
<lastmod>2025-07-07T18:09:51+09:00</lastmod>
31499+
<lastmod>2025-07-09T20:30:38+09:00</lastmod>
3150031500
<changefreq>daily</changefreq>
3150131501
<priority>0.7</priority>
3150231502
</url>
@@ -31531,7 +31531,7 @@
3153131531

3153231532
<url>
3153331533
<loc>https://cpprefjp.github.io/reference/cstdlib/atoi_atol_atoll.html</loc>
31534-
<lastmod>2025-07-09T20:18:31+09:00</lastmod>
31534+
<lastmod>2025-07-09T20:28:40+09:00</lastmod>
3153531535
<changefreq>daily</changefreq>
3153631536
<priority>0.7</priority>
3153731537
</url>
@@ -40414,7 +40414,7 @@
4041440414

4041540415
<url>
4041640416
<loc>https://cpprefjp.github.io/lang/cpp26/contracts.html</loc>
40417-
<lastmod>2025-07-07T17:11:12+09:00</lastmod>
40417+
<lastmod>2025-07-09T20:30:38+09:00</lastmod>
4041840418
<changefreq>daily</changefreq>
4041940419
<priority>0.7</priority>
4042040420
</url>

0 commit comments

Comments
 (0)