Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lang/cpp20/deprecate_array_comparisons.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
```cpp
int arr1[5];
int arr2[5];
bool same = arr1 == arr2; // C++20で非推奨。&arr[0] == &arr[1]と同じ。
bool same = arr1 == arr2; // C++20で非推奨。&arr1[0] == &arr2[0]と同じ。
// 配列の要素は比較されない
auto cmp = arr1 <=> arr2; // エラー!
```
Expand Down