[all-commits] [llvm/llvm-project] f4abdb: [libc++][spaceship] Implement std::pair::operator<=>

Kent Ross via All-commits all-commits at lists.llvm.org
Wed Sep 22 22:40:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4abdb0c074bd7b7b89d9828d449078d16d0e1c3
      https://github.com/llvm/llvm-project/commit/f4abdb0c074bd7b7b89d9828d449078d16d0e1c3
  Author: Kent Ross <k at mad.cash>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M libcxx/docs/Status/SpaceshipProjects.csv
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__compare/synth_three_way.h
    M libcxx/include/__utility/pair.h
    M libcxx/include/module.modulemap
    M libcxx/include/utility
    A libcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.module.verify.cpp
    A libcxx/test/libcxx/library/description/conventions/expos.only.func/synth_three_way.pass.cpp
    A libcxx/test/std/utilities/utility/pairs/pairs.spec/three_way_comparison.pass.cpp

  Log Message:
  -----------
  [libc++][spaceship] Implement std::pair::operator<=>

Implements parts of P1614, including synth-three-way and three way comparison for std::pair.

Reviewed By: #libc, Quuxplusone, Mordante

Differential Revision: https://reviews.llvm.org/D107721




More information about the All-commits mailing list