[libcxx-commits] [PATCH] D142843: [libc++] Addresses LWG3358
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 31 01:32:26 PST 2023
philnik added inline comments.
================
Comment at: libcxx/test/std/containers/views/views.span/span.cons/iterator_sentinel.pass.cpp:123
+ std::array a{42};
+ TEST_VALIDATE_EXCEPTION((std::span<int>{throw_operator_minus{a.begin()}, throw_operator_minus{a.end()}}), //
+ int, //
----------------
Why not just a try/catch like we normally do?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142843/new/
https://reviews.llvm.org/D142843
More information about the libcxx-commits
mailing list