[libcxx-commits] [libcxx] [libc++] Make `<map>` `std::multimap` constexpr as part of P3372R3 (PR #161901)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 10 00:57:42 PDT 2026
================
@@ -23,32 +23,36 @@
#include "DefaultOnly.h"
#include "min_allocator.h"
-int main(int, char**) {
- {
- typedef std::multimap<int, DefaultOnly> M;
- typedef M::iterator R;
- M m;
+TEST_CONSTEXPR_CXX26
+bool test() {
+ // DefaultOnly::count is static
----------------
philnik777 wrote:
That would probably be nice.
https://github.com/llvm/llvm-project/pull/161901
More information about the libcxx-commits
mailing list