[libcxx-commits] [PATCH] D80902: [libcxx] adds lexicographical_compare_three_way

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 31 15:26:15 PDT 2020


cjdb created this revision.
cjdb added reviewers: EricWF, mclow.lists, ldionne, jfb, BRevzin.
cjdb added a project: libc++.
Herald added subscribers: libcxx-commits, sstefan1, dexonsmith.
Herald added a reviewer: jdoerfert.
cjdb added a parent revision: D80899: [libcxx] adds std::compare_three_way.

[libcxx] adds lexicographical_compare_three_way

- adds lexicographical_compare_three_way algorithms
- adds tests
- replaces std::array with raw array to eliminate circular dep :-(


Repository:
  rCXX libc++

https://reviews.llvm.org/D80902

Files:
  libcxx/include/algorithm
  libcxx/include/compare
  libcxx/test/std/algorithms/alg.sorting/alg.three.way/lexicographical_compare_three_way.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.three.way/lexicographical_compare_three_way_comp.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80902.267530.patch
Type: text/x-patch
Size: 12947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200531/39a01f47/attachment-0001.bin>


More information about the libcxx-commits mailing list