[libcxx-commits] [libcxx] Improvements to std::array<T, 0>. (PR #74657)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 7 06:12:13 PST 2023


ldionne wrote:

After looking at this PR, I would suggest that we go with https://github.com/llvm/llvm-project/pull/74667 which fixes the bug without any ABI change, and without requiring non-conforming API changes.

We can then either drop this or transform this patch into a change that makes `std::array<T, 0>` be 1 byte in all cases -- although the benefit of that in isolation is limited.

https://github.com/llvm/llvm-project/pull/74657


More information about the libcxx-commits mailing list