[libcxx-commits] [libcxx] [libc++] P3379R1: Constrain `std::expected` equality operators (PR #117664)

Jonathan Wakely via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 10 01:07:57 PDT 2025


================
@@ -45,6 +45,7 @@ Implemented Papers
 - ``std::jthread`` and ``<stop_token>`` are not guarded behind ``-fexperimental-library`` anymore
 - P2674R1: A trait for implicit lifetime types (`Github <https://github.com/llvm/llvm-project/issues/105259>`__)
 - P0429R9: A Standard ``flat_map`` is partially implemented and ``flat_map`` is provided (`Github <https://github.com/llvm/llvm-project/issues/105190>`__)
+- P3379R1: Constrain ``std::expected`` equality operators
----------------
jwakely wrote:

There was a D3379R1 draft but I forgot to publish it, and we voted on R0. The only difference is that R1 said to add `__cpp_lib_constrained_comparisons` in `<expected>`. That addition got done editorially: https://github.com/cplusplus/draft/pull/7449

It looks like this PR neither bumps the macro value nor adds the macro to `<expected>`.

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


More information about the libcxx-commits mailing list