[libcxx-commits] [libcxx] [libc++] implement std::flat_set (PR #125241)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 31 11:07:08 PST 2025
================
@@ -0,0 +1,69 @@
+//===----------------------------------------------------------------------===//
+//
+// 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>
+
+// flat_set& operator=(flat_set&&);
----------------
ldionne wrote:
We don't seem to be testing that we clear `*this` in case an exception is thrown during move-assignment. The `_clear` test checks that we clear the source `flat_set`, but not `*this` in the case of an exception.
https://github.com/llvm/llvm-project/pull/125241
More information about the libcxx-commits
mailing list