[libcxx-commits] [libcxx] [libc++]libcxx constexpr deque (PR #200929)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 3 00:06:26 PDT 2026


================
@@ -256,10 +256,7 @@ constexpr bool test() {
 
   test_alloc<std::vector, std::vector>();
 
-#ifndef __cpp_lib_constexpr_deque
-  if (!TEST_IS_CONSTANT_EVALUATED)
-#endif
-  {
+  if (!TEST_IS_CONSTANT_EVALUATED) {
----------------
frederick-vs-ja wrote:

Oh yeah. It seems fine to just put the coverage for `deque` in another `static_assert`.

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


More information about the libcxx-commits mailing list