Skip to content

Commit

Permalink
C++26 未初期化変数の読み取り : 訳してない用語のマーキング
Browse files Browse the repository at this point in the history
Co-authored-by: Kazutoshi SATODA <k_satoda@f2.dion.ne.jp>
  • Loading branch information
faithandbrave and k-satoda authored Oct 8, 2024
1 parent c965e26 commit 7e68271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/cpp26/erroneous_behavior_for_uninitialized_reads.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ int main() {
int x; // xは「erroneous value」をもつ
int y [[indeterminate]]; // 意図して不定値に初期化されることを指示
f(x); // erroneous behavior (未初期化値の読み取り)
f(x); // erroneous behavior」 (「erroneous value」の読み取り)
f(y); // 未定義動作 (不定値の読み取り)
}
```
Expand Down

0 comments on commit 7e68271

Please sign in to comment.