[libcxx-commits] [PATCH] D114136: [libc++] Test that our algorithms never copy a user-provided comparator.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 19 10:08:00 PST 2021


Quuxplusone updated this revision to Diff 388551.
Quuxplusone marked 4 inline comments as done.
Quuxplusone added a comment.

Fifth time's the charm? Buildkite hates me. :)
Removed `decltype(nullptr)` in favor of `std::nullptr_t`; fixed up some constexpr-friendliness.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114136/new/

https://reviews.llvm.org/D114136

Files:
  libcxx/include/__algorithm/binary_search.h
  libcxx/include/__algorithm/is_heap.h
  libcxx/include/__algorithm/is_heap_until.h
  libcxx/include/__algorithm/is_sorted.h
  libcxx/include/__algorithm/is_sorted_until.h
  libcxx/include/__algorithm/max.h
  libcxx/include/__algorithm/max_element.h
  libcxx/include/__algorithm/min.h
  libcxx/include/__algorithm/min_element.h
  libcxx/test/libcxx/algorithms/robust_against_copying_comparators.pass.cpp
  libcxx/test/std/algorithms/robust_against_adl.compile.pass.cpp
  libcxx/test/std/algorithms/robust_re_difference_type.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114136.388551.patch
Type: text/x-patch
Size: 23729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211119/b9711ae2/attachment-0001.bin>


More information about the libcxx-commits mailing list