...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::nth_element
// In header: <boost/compute/algorithm/nth_element.hpp> template<typename Iterator, typename Compare> void nth_element(Iterator first, Iterator nth, Iterator last, Compare compare, command_queue & queue = system::default_queue()); template<typename Iterator> void nth_element(Iterator first, Iterator nth, Iterator last, command_queue & queue = system::default_queue());