[libcxx-commits] [libcxx] [libc++][string] Add constexpr initialization stress test (PR #184723)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 6 08:49:28 PST 2026


https://github.com/ldionne commented:

What is the underlying goal here? This test seems somewhat arbitrary: when we add a test like this, we should have in mind what guarantee provided to the user we're trying to test. What is that guarantee here: that we can initialize an array of 1000 strings without changing the default constexpr evaluation limit of the compiler? That seems like a weird guarantee to provide.

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


More information about the libcxx-commits mailing list