[libcxx-commits] [libcxx] WIP - [libc++][functional] P2944R3 (partial): Comparisons for ``reference_wrapper`` (``reference_wrapper`` operators only) (PR #88384)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 28 22:23:06 PDT 2024


================
@@ -1040,7 +1040,6 @@ def add_version_header(tc):
             "name": "__cpp_lib_reference_wrapper",
             "values": {"c++26": 202403}, # P2944R3: Comparisons for reference_wrapper
             "headers": ["functional"],
-            "unimplemented": True,
----------------
H-G-Hristov wrote:

I removed the setting as requested.

My understanding is that the FTM is set when a feature is complete. This PR completes comparisons for the reference wrapper, which is the first part of the paper. So it the FTM should(could) be set. 
The paper has a second (to me unrelated) part about constraining the equality of unrelated to reference wrapper types. For that part the paper defines a second FTM `__cpp_lib_constrained_equality`.
This is how I understand it. Is my thinking wrong?

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


More information about the libcxx-commits mailing list