Searched refs:sort_iter (Results 1 – 1 of 1) sorted by relevance
286 const auto sort_iter = working.begin() + sort_point; in partial_sort() local287 std::partial_sort(working.begin(), sort_iter, working.end()); in partial_sort()289 if (sort_iter != working.end()) in partial_sort()291 const uint8_t nth = *std::min_element(sort_iter, working.end()); in partial_sort()292 if (!std::all_of(working.begin(), sort_iter, [=](uint8_t v) { return v <= nth; })) in partial_sort()294 if (!std::all_of(sort_iter, working.end(), [=](uint8_t v) { return v >= nth; })) in partial_sort()297 if (!std::is_sorted(working.begin(), sort_iter)) return 3; in partial_sort()