[libcxx-commits] [PATCH] D57761: [libc++] Avoid UB in the no-exceptions mode in a few places

JF Bastien via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 11 13:13:38 PST 2019


jfb added a comment.

The tests are exactly what I had in mind, great! LGTM.



================
Comment at: libcxx/test/libcxx/containers/associative/map/at.abort.pass.cpp:30
+int main(int, char**) {
+    std::signal(SIGABRT, exit_success);
+    std::map<int, int> map;
----------------
*chef's kiss*


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57761/new/

https://reviews.llvm.org/D57761





More information about the libcxx-commits mailing list