-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Closed
Copy link
Labels
libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!test-suite
Description
EmplaceUnsafeContainer is used in tests for flat_set and flat_map to test the ability to have basic exception guarantee when underlying container throws on insert / emplace of a single element.
| struct EmplaceUnsafeContainer : std::vector<T> { |
Per [container.reqmts]/66, a sequence container should provide strong exception guarantee in this case.
So supporting underlying containers that don't provide that is nonstandard extension, and should be tested in libcxx test suite instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!test-suite