[libcxx-commits] [libcxx] [libc++] Add exception guard for vector<bool>::__init_with_sentinel (PR #115491)
Peng Liu via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 27 05:40:18 PST 2024
winner245 wrote:
I have done all the changes. Here is a brief summary for your information:
- The common classes for `vector` and `vector<bool>` tests are now organized in `vector/common.h`, with some necessary definition improvements and meaningful name changes: `Alloctor > throwing_allocator`, `Iterator > throwing_iterator`.
- The test file `vector.bool/ctor_exceptions.pass.cpp` has been augmented with 5 additional tests:
- 3 of which covering exception tests for the copy/move-ctors with a specified allocator;
- 2 of which covering exception tests for other ctors with/without a specified allocator.
I think it is ready to merge. Once it is merged, I will proceed to rebase my other PRs.
https://github.com/llvm/llvm-project/pull/115491
More information about the libcxx-commits
mailing list