[libcxx-commits] [libcxx] [libc++] add test for flat_set::insert not creating temporaries (PR #138387)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 3 08:25:23 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>
----------------
frederick-vs-ja wrote:
It seems that we should include `<utility>` (in both new test files) to make CI happy...
https://github.com/llvm/llvm-project/pull/138387
More information about the libcxx-commits
mailing list