merge(3p/abseil_cpp): Merge upstream at 'ccdbb5941'
Change-Id: I6e85fc7b5f76bba1f1eef15e600a8acb64e97ef5
This commit is contained in:
commit
543379ce45
97 changed files with 3546 additions and 2316 deletions
|
@ -943,9 +943,10 @@ void c_partial_sort(
|
|||
// c_partial_sort_copy()
|
||||
//
|
||||
// Container-based version of the <algorithm> `std::partial_sort_copy()`
|
||||
// function to sort elements within a container such that elements before
|
||||
// `middle` are sorted in ascending order, and return the result within an
|
||||
// iterator.
|
||||
// function to sort the elements in the given range `result` within the larger
|
||||
// `sequence` in ascending order (and using `result` as the output parameter).
|
||||
// At most min(result.last - result.first, sequence.last - sequence.first)
|
||||
// elements from the sequence will be stored in the result.
|
||||
template <typename C, typename RandomAccessContainer>
|
||||
container_algorithm_internal::ContainerIter<RandomAccessContainer>
|
||||
c_partial_sort_copy(const C& sequence, RandomAccessContainer& result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue