[libcxx-commits] [libcxx] [libc++] Verify forward_list self-merging is a no-op (PR #129985)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 6 01:01:19 PST 2025
================
@@ -9,6 +9,7 @@
// <forward_list>
// void merge(forward_list& x);
+// If (addressof(x) == this) does nothing; otherwise ...
----------------
philnik777 wrote:
I think these comments will be more confusing than anything else.
https://github.com/llvm/llvm-project/pull/129985
More information about the libcxx-commits
mailing list