[all-commits] [llvm/llvm-project] a19d37: [libc++] P2944R3: Constrained comparisions - `tupl...

Hristo Hristov via All-commits all-commits at lists.llvm.org
Fri Jun 27 10:12:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a19d37044b35766d216d77c3fb5e5275e48438ea
      https://github.com/llvm/llvm-project/commit/a19d37044b35766d216d77c3fb5e5275e48438ea
  Author: Hristo Hristov <hghristov.rmm at gmail.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/include/tuple
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/size_incompatible_comparison.verify.cpp

  Log Message:
  -----------
  [libc++] P2944R3: Constrained comparisions - `tuple` (#145677)

Implements P2944R3 partially, which adds constrained comparisons
`std::tuple`.
The missing overloads introduced in [P2165R4](https://wg21.link/P2165R4)
are not implemented.

Uses
[`__all`](https://github.com/llvm/llvm-project/blob/f7af33a9eb5b3876f219075023dc9c565d75849b/libcxx/include/__type_traits/conjunction.h#L45)
instead of a fold expression, see comment:
https://github.com/llvm/llvm-project/pull/141396#discussion_r2161166077

Relates to #136765

# References

[tuple.rel](https://wg21.link//tuple.rel)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list