[libcxx-commits] [libcxx] [libc++] Implement P3567R2 flat_meow fixes (PR #162022)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 10 11:00:41 PDT 2025


================
@@ -17,7 +15,7 @@
 // void swap(flat_map& y) noexcept;
 // friend void swap(flat_map& x, flat_map& y) noexcept
 
-// Test that std::terminate is called if any exception is thrown during swap
+// Test that the variants are hold if any exception is thrown during swap
----------------
ldionne wrote:

```suggestion
// Test that the invariants are maintained if any exception is thrown during swap
```

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


More information about the libcxx-commits mailing list