[libcxx-commits] [libcxx] [libc++] add test for flat_set::insert not creating temporaries (PR #138387)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 4 06:24:56 PDT 2025


================
@@ -0,0 +1,46 @@
+//===----------------------------------------------------------------------===//
+//
+// 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, c++11, c++14, c++17, c++20
+
+// <flat_set>
+
+// https://github.com/llvm/llvm-project/issues/119016
+
+#include <flat_set>
----------------
huixie90 wrote:

Thanks. fixed

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


More information about the libcxx-commits mailing list