File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ namespace std {
2323- NAN(大小文字区別せず)はそれ以前の数値を返す。もし以前の数値がないなら、`nan`を返す。
2424
2525
26- ## 返り値
26+ ## 戻り値
2727
2828変換可能ならば変換後の数値。
2929
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace std {
1313
1414ホスト環境(OS)が提供する環境リストから、Cストリング`env_var`と一致する文字列を検索、一致したもののポインタを返す
1515
16- ## 返り値
16+ ## 戻り値
1717
1818一致したものがあれば環境変数を保持した文字列、なければヌルポインタを返す
1919
You can’t perform that action at this time.
0 commit comments