[libcxx-commits] [libcxx] [libc++] Introduce a standalone __scope_guard and use it in <string> (PR #114867)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 4 13:48:22 PST 2024
================
@@ -2169,6 +2177,7 @@ private:
__alloc_ = __str.__alloc_;
} else {
__annotate_delete();
+ auto __guard = std::__make_scope_guard(__annotate_new_size(*this));
----------------
ldionne wrote:
Ah, yes, that was it.
https://github.com/llvm/llvm-project/pull/114867
More information about the libcxx-commits
mailing list