Three-way comparisons ([expr.spaceship]) between such operands are ill-formed.
— end note]
[Example 1: int arr1[5];
int arr2[5];
bool same = arr1 == arr2; // deprecated, same as &arr1[0] == &arr2[0],// does not compare array contentsauto cmp = arr1 <=> arr2; // error — end example]