tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Namespaces | |
namespace | etl |
Functions | |
template<typename RandomIt> | |
constexpr auto | partial_sort (RandomIt first, RandomIt middle, RandomIt last) -> void |
template<typename RandomIt, typename Compare> | |
constexpr auto | partial_sort (RandomIt first, RandomIt middle, RandomIt last, Compare comp) -> void |
Rearranges elements such that the range [first, middle) contains the sorted middle - first smallest elements in the range [first, last) . The order of equal elements is not guaranteed to be preserved. The order of the remaining elements in the range [middle, last) is unspecified. | |