[libcxx-commits] [PATCH] D98573: [libc++] Remove most of the special logic for "noexcept iterators" in basic_string
Tim Song via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Mar 14 17:32:10 PDT 2021
tcanens added a comment.
> For append, we can always use the optimized approach, because if an iterator
operation throws, we just restore the null terminator and we're back where
we started, no problem.
Not if you have already reallocated the string and invalidated existing pointers and iterators.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libcxx-commits