Annex D (normative) Compatibility features [depr]

D.4 Array comparisons [depr.array.comp]

Equality and relational comparisons ([expr.eq], [expr.rel]) between two operands of array type are deprecated.
Note
:
Three-way comparisons ([expr.spaceship]) between such operands are ill-formed.
— end note
 ]
Example
:
int arr1[5];
int arr2[5];
bool same = arr1 == arr2;       // deprecated, same as &arr1[0] == &arr2[0],
                                // does not compare array contents
auto cmp = arr1 <=> arr2;       // error
— end example
 ]