We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 171949a + 9576959 commit 909d638Copy full SHA for 909d638
lang/cpp26/remove_deprecated_array_comparisons.md
@@ -18,7 +18,7 @@ C++20での[三方比較演算子](/lang/cpp20/consistent_comparison.md)の導
18
int arr1[5];
19
int arr2[5];
20
bool same = arr1 == arr2; // C++20: 非推奨、C++26: エラー。
21
- // &arr[0] == &arr[1]と同じ。
+ // &arr1[0] == &arr2[0]と同じ。
22
// 配列の要素は比較されない
23
auto cmp = arr1 <=> arr2; // エラー!
24
```
0 commit comments