[libcxx-commits] [libcxx] [libc++][vector] Make constructor vector(count, value, allocator) exception-safe (PR #82033)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 16 12:31:14 PST 2024


philnik777 wrote:

I'd prefer to keep the bug fix and moving code separate. If you want to move the code, feel free to open a new PR. The code being defined in two different places being the reason seems like wild speculation to me. I'm pretty sure I went through the constructors on cppreference. Much more importantly: please add a test case for your change. Since you referenced my patch to fix most places, I think you should have a good idea of what to do. If you need any help feel free to ask here or on discord.

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


More information about the libcxx-commits mailing list