From caa8159c251909eb1e20da5620c4acbac1bd1039 Mon Sep 17 00:00:00 2001 From: lpha Date: Fri, 20 Sep 2024 02:16:22 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=BC=E3=83=89=E3=81=AE=E8=AA=A4?= =?UTF-8?q?=E3=82=8A=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lang/cpp17/selection_statements_with_initializer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/cpp17/selection_statements_with_initializer.md b/lang/cpp17/selection_statements_with_initializer.md index 5e6a59a6e..56dc5108b 100644 --- a/lang/cpp17/selection_statements_with_initializer.md +++ b/lang/cpp17/selection_statements_with_initializer.md @@ -32,7 +32,7 @@ if (status_code c = bar(); c != SUCCESS) { … return c; } else { - //ステータスコード C が成功だったら、何かして、処理を続行する + //ステータスコード c が成功だったら、何かして、処理を続行する … } //この時点で c は無効 @@ -160,7 +160,7 @@ status_code foo() { int n = get_value(); { - status_code C = bar(n); + status_code c = bar(n); if (c != status_code::SUCCESS) { return c; } } {