Revert "[libc++] Fix PR35491 - std::array of zero-size doesn't work with non-default...
authorNirav Dave <niravd@google.com>
Tue, 6 Feb 2018 03:03:37 +0000 (03:03 +0000)
committerNirav Dave <niravd@google.com>
Tue, 6 Feb 2018 03:03:37 +0000 (03:03 +0000)
commit936ff58476a9bd12152dd67ca28ce2ed08e97b84
treeb64fca3ce6c93402feda85e1eb447575e4dbe39c
parent2bf6c058a122c869e48fc0d4de40af73ac007fd1
Revert "[libc++] Fix PR35491 - std::array of zero-size doesn't work with non-default constructible types."
Revert "Fix initialization of array<const T, 0> with GCC."
Revert "Make array<const T, 0> non-CopyAssignable and make swap and fill ill-formed."

This reverts commit r324182, r324185, and r324194 which were causing issues with zero-length std::arrays.

llvm-svn: 324309
libcxx/include/array
libcxx/test/std/containers/sequences/array/array.cons/default.pass.cpp
libcxx/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp [deleted file]
libcxx/test/std/containers/sequences/array/array.data/data.pass.cpp
libcxx/test/std/containers/sequences/array/array.data/data_const.pass.cpp
libcxx/test/std/containers/sequences/array/array.fill/fill.fail.cpp [deleted file]
libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp [deleted file]
libcxx/test/std/containers/sequences/array/begin.pass.cpp