[libcxx-commits] [libcxx] [libc++] Make list constexpr as part of P3372R3 (PR #129799)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 11 09:52:48 PDT 2025


================
@@ -31,8 +32,19 @@ int main(int, char**) {
   });
   test_sequence_prepend_range_move_only<std::list>();
 
-  test_prepend_range_exception_safety_throwing_copy<std::list>();
-  test_prepend_range_exception_safety_throwing_allocator<std::list, int>();
+  if (!std::is_constant_evaluated()) {
----------------
ldionne wrote:

This should also be `!TEST_IS_CONSTANT_EVALUATED`. Please make a pass throughout the patch.

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


More information about the libcxx-commits mailing list