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: " 返り値" → " 戻り値" </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" >< pre>< code> 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+ < /code>< /pre> </summary >
29+
30+ <author >
31+ <name >Koichi Murase</name >
32+ 33+ </author >
34+ </entry >
35+
36+ <entry >
37+ <title >atof -- style: " 返り値" → " 戻り値" </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" >< pre>< code> 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+ < /code>< /pre> </summary >
56+
57+ <author >
58+ <name >Koichi Murase</name >
59+ 60+ </author >
61+ </entry >
62+
63+ <entry >
64+ <title >getenv -- style: " 返り値" → " 戻り値" </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" >< pre>< code> 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+ < /code>< /pre> </summary >
83+
84+ <author >
85+ <name >Koichi Murase</name >
86+ 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" >< pre>< code> 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+ < /code>< /pre> </summary >
107+
108+ <author >
109+ <name >Koichi Murase</name >
110+ 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" >< pre>< code> 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](& #34;https://www.dii.uchile.cl/~daespino/files/Iso_C_1999_definition.pdf& #34;)
229- +- [7.20.3 Memory management functions](https://www.dii.uchile.cl/~daespino/files/Iso_C_1999_definition.pdf) [PDF]
230- < /code>< /pre> </summary >
231-
232- <author >
233- <name >Koichi Murase</name >
234- 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" >< pre>< code> 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; operator=(const bad_typeid& amp;); // (1) C++03
253- +bad_typeid& amp; operator=(const bad_typeid& amp;) throw(); // (1) C++03
254- bad_typeid& amp; operator=(const bad_typeid& amp;) noexcept; // (1) C++11
255- constexpr bad_typeid& amp; operator=(const bad_typeid& amp;) noexcept; // (1) C++26
256- ```
257- < /code>< /pre> </summary >
258-
259- <author >
260- <name >suomesta</name >
261- 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" >< pre>< code> 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;); // (2) C++03
285- +bad_typeid(const bad_typeid& amp;) throw(); // (2) C++03
286- bad_typeid(const bad_typeid& amp;) noexcept; // (2) C++11
287- constexpr bad_typeid(const bad_typeid& amp;) noexcept; // (2) C++26
288- ```
289- < /code>< /pre> </summary >
290-
291- <author >
292- <name >suomesta</name >
293- 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" >< pre>< code> 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- < /code>< /pre> </summary >
317-
318- <author >
319- <name >suomesta</name >
320- 321- </author >
322- </entry >
323-
324311</feed >
0 commit comments