[libcxx-commits] [libcxx] [libc++] constexpr flat_multiset (PR #161016)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 10 10:50:45 PDT 2025


================
@@ -72,8 +57,38 @@ void test() {
   }
 }
 
+constexpr bool test() {
+  {
+    // The constructors in this subclause shall not participate in overload
+    // resolution unless uses_allocator_v<container_type, Alloc> is true.
+
+    using C  = test_less<int>;
----------------
ldionne wrote:

I think we should move this to the template function above. Same for most of these tests where you parameterize on `KeyContainer`.

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


More information about the libcxx-commits mailing list