[libcxx-commits] [libcxx] [libc++][ABI BREAK] Make std::pair trivially copyable if its members are (PR #89652)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 23 11:31:02 PDT 2024
================
@@ -0,0 +1,32 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03 || !clang && (c++11 || c++14 || c++17)
+
+#include <type_traits>
----------------
EricWF wrote:
Please add tests for non-trivially copyable types, and for reference & const types.
https://github.com/llvm/llvm-project/pull/89652
More information about the libcxx-commits
mailing list