Skip to content

Commit b3bdbe3

Browse files
committed
style: "返り値" → "戻り値"
1 parent a106306 commit b3bdbe3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lang/cpp26/contracts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ int increment(int x)
7878
```
7979
ここでは、`increment`関数の戻り値が`x + 1`であることを事後条件として指定している。
8080

81-
`post`では、返り値を`r`としてバインドし、条件式内で利用している。ここには、任意の変数名が使用できる。変数は定数(`const`)な左辺値参照である。
81+
`post`では、戻り値を`r`としてバインドし、条件式内で利用している。ここには、任意の変数名が使用できる。変数は定数(`const`)な左辺値参照である。
8282

8383
事後条件の結果名導入子(result-name-introducer)は省略可能である。特に、`void`を返す関数では、戻り値を参照する必要がない場合に省略できる。
8484

reference/cstdlib/atof.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace std {
2323
- NAN(大小文字区別せず)はそれ以前の数値を返す。もし以前の数値がないなら、`nan`を返す。
2424
2525
26-
## 返り値
26+
## 戻り値
2727
2828
変換可能ならば変換後の数値。
2929

reference/cstdlib/getenv.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace std {
1313
1414
ホスト環境(OS)が提供する環境リストから、Cストリング`env_var`と一致する文字列を検索、一致したもののポインタを返す
1515
16-
## 返り値
16+
## 戻り値
1717
1818
一致したものがあれば環境変数を保持した文字列、なければヌルポインタを返す
1919

0 commit comments

Comments
 (0)