[libcxx-commits] [libcxx] [libc++] constexpr priority_queue (PR #140634)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 28 09:48:12 PDT 2025
================
@@ -41,5 +41,14 @@ int main(int, char**) {
static_assert(test_convertible<Q, const Compare&, const Container&>(), "");
#endif
- return 0;
+ return true;
}
+
+int main(int, char**) {
+ assert(test());
+#if TEST_STD_VER >= 26
+ static_assert(test());
+#endif
+
+ return 0;
+}
----------------
ldionne wrote:
Here too.
https://github.com/llvm/llvm-project/pull/140634
More information about the libcxx-commits
mailing list