[libcxx-commits] [libcxx] [libcxx] cbegin should always return a constant iterator (PR #99915)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 19 03:41:12 PDT 2025


================
@@ -277,6 +277,12 @@ struct is_same<T, T> { enum {value = 1}; };
     static_assert((test_macros_detail::is_same<__VA_ARGS__>::value), \
                  "Types differ unexpectedly")
 
+#define ASSERT_RUNTIME_AND_CONSTEXPR(...)                                                                              \
----------------
frederick-vs-ja wrote:

I've dropped `ASSERT_RUNTIME_AND_CONSTEXPR` and used more `assert` in those test files.

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


More information about the libcxx-commits mailing list