[libcxx-commits] [libcxx] [libc++] constexpr flat_multimap (PR #148417)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 15 10:06:36 PDT 2025


================
@@ -47,7 +47,7 @@ void test() {
   }
   {
     M m;
-    std::size_t s = 1000;
+    std::size_t s = TEST_IS_CONSTANT_EVALUATED ? 100 : 1000;
----------------
ldionne wrote:

Is this because we blow up the constexpr evaluation step limit? If so, let's use something like `// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-steps): -fconstexpr-steps=2000000` since that's our usual way of dealing with these.

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


More information about the libcxx-commits mailing list