[libcxx-commits] [libcxx] [libc++] Fix constexpr initialization of std::array<T, 0> (PR #74667)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 14 14:45:09 PST 2023


================
@@ -0,0 +1,142 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// <array>
+
+// template <class T, size_t N>
+// struct array
+
+// Make sure std::array<T, N> has the correct object size and alignment.
----------------
EricWF wrote:

Only partially related but...

Any chance we've changed the triviality of any of the special members with this change?


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


More information about the libcxx-commits mailing list