[libcxx-commits] [libcxx] [libc++] Refactor vector move constructor with allocator (PR #116449)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 18 07:38:27 PST 2024


ldionne wrote:

>  The advantage of using __init_with_size lies in its internal use of exception guard, thus simplifying the code.

Does this patch add an exception guard that wasn't there before? If so, are we fixing an exception safety issue that we were not handling before? If that's the case, this needs a test.

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


More information about the libcxx-commits mailing list