[libcxx-commits] [PATCH] D129823: [libc++][ranges] Make range algorithms support proxy iterators

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 14 18:56:26 PDT 2022


var-const created this revision.
Herald added a project: All.
var-const updated this revision to Diff 444852.
var-const added a comment.
var-const updated this revision to Diff 444853.
var-const updated this revision to Diff 444854.
var-const retitled this revision from "[libc++][ranges][NFC] Test that range algorithms support proxy iterators." to "[libc++][ranges] Make range algorithms support proxy iterators".
var-const edited the summary of this revision.
var-const added reviewers: libc++, philnik, huixie90, ldionne.
var-const published this revision for review.
Herald added a reviewer: jdoerfert.
Herald added subscribers: libcxx-commits, sstefan1.
Herald added a project: libc++.

Updae


var-const added a comment.

Rebase, remove unnecessary changes.


var-const added a comment.

Remove unused variables.


Also test all the range algorithms to verify the support.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129823

Files:
  libcxx/include/__algorithm/copy_backward.h
  libcxx/include/__algorithm/inplace_merge.h
  libcxx/include/__algorithm/iterator_operations.h
  libcxx/include/__algorithm/make_heap.h
  libcxx/include/__algorithm/nth_element.h
  libcxx/include/__algorithm/partial_sort.h
  libcxx/include/__algorithm/partial_sort_copy.h
  libcxx/include/__algorithm/pop_heap.h
  libcxx/include/__algorithm/push_heap.h
  libcxx/include/__algorithm/ranges_copy_backward.h
  libcxx/include/__algorithm/ranges_fill.h
  libcxx/include/__algorithm/ranges_make_heap.h
  libcxx/include/__algorithm/ranges_nth_element.h
  libcxx/include/__algorithm/ranges_pop_heap.h
  libcxx/include/__algorithm/ranges_push_heap.h
  libcxx/include/__algorithm/ranges_sort.h
  libcxx/include/__algorithm/ranges_sort_heap.h
  libcxx/include/__algorithm/ranges_stable_sort.h
  libcxx/include/__algorithm/sift_down.h
  libcxx/include/__algorithm/sort.h
  libcxx/include/__algorithm/sort_heap.h
  libcxx/include/__algorithm/stable_sort.h
  libcxx/src/algorithm.cpp
  libcxx/test/std/algorithms/ranges_robust_against_proxy_iterators.compile.pass.cpp
  libcxx/test/support/test_iterators.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129823.444854.patch
Type: text/x-patch
Size: 100475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220715/94de7036/attachment-0001.bin>


More information about the libcxx-commits mailing list