[libcxx-commits] [PATCH] D116296: [libc++] Add an early return for __partial_sort of an empty range.
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Dec 27 01:00:05 PST 2021
philnik added inline comments.
================
Comment at: libcxx/include/__algorithm/partial_sort.h:33-34
_LIBCPP_CONSTEXPR_AFTER_CXX17 void
__partial_sort(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last,
_Compare __comp)
{
----------------
Nit, but this patch seems small enough to change that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116296/new/
https://reviews.llvm.org/D116296
More information about the libcxx-commits
mailing list