[libcxx-commits] [libcxx] [libc++] P2944R3: Constrained comparisions - `optional` and `reference_wrapper` (PR #139368)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 12 01:36:48 PDT 2025


================
@@ -415,8 +415,11 @@ def add_version_header(tc):
         },
         {
             "name": "__cpp_lib_constrained_equality",
-            "values": {"c++26": 202403}, # P2944R3: Comparisons for reference_wrapper
-            "headers": ["optional", "tuple", "utility", "variant"],
+            "values": {
+                # "c++26": 202403,  # P2944R3: Comparisons for reference_wrapper
+                "c++26": 202411,  # P3379R0: Constrain std::expected equality operators
+            },
+            "headers": ["expected", "optional", "tuple", "utility", "variant"],
----------------
Zingam wrote:

I have this as a separate subtask. We also need to implement the tuple-like overload I believe before we can set the FTM. BTW I have WIP branch for the remaining bits of P2944R3.

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


More information about the libcxx-commits mailing list