tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
nth_element.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename RandomIt>
constexpr auto nth_element (RandomIt first, RandomIt nth, RandomIt last) -> void
 
template<typename RandomIt, typename Compare>
constexpr auto nth_element (RandomIt first, RandomIt nth, RandomIt last, Compare comp) -> void
 nth_element is a partial sorting algorithm that rearranges elements in [first, last) such that: