[libc++] Eliminate <compare>'s dependency on <array>.
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Wed, 24 Mar 2021 23:14:51 +0000 (19:14 -0400)
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Thu, 25 Mar 2021 14:34:35 +0000 (10:34 -0400)
commite21ab31f45a440e195f9c914083d57718e0de3b7
treec407ea8f7da9be3671bbfa27c9b5b5c4e9a85dd9
parent06e2b737aa0347b42e8bf37cb00a053eab0a9393
[libc++] Eliminate <compare>'s dependency on <array>.

This refactor is not only a good idea, but is in fact required by the standard,
in the sense that <array> is mandated to include <compare>.
So <compare> shouldn't have a circular dependency on <array>!

Differential Revision: https://reviews.llvm.org/D99307
libcxx/include/compare