[libcxx-commits] [libcxx] [libc++] Fix flat_{multi}set insert_range (PR #137462)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 6 13:06:43 PDT 2025


================
@@ -0,0 +1,40 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+// UNSUPPORTED: no-localization
+
+// <flat_set>
+
+// https://github.com/llvm/llvm-project/issues/136656
----------------
ldionne wrote:

```suggestion
// As an extension, libc++ flat containers support inserting a non forward range into
// a pre-C++23 container that doesn't provide insert_range(...), since many containers
// out there are in that situation.
// https://github.com/llvm/llvm-project/issues/136656
```

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


More information about the libcxx-commits mailing list