c++ - partially sorting in decending order -


we have partially sort array in descending order.

i know std::partial_sort in ascending order.

http://en.cppreference.com/w/cpp/algorithm/partial_sort.

is other such function can or fast algorithm so.

the second overload in reference linked takes comparer – pass in instance of std::greater<t>.


Comments

Popular posts from this blog

Glib GIOChannel -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -

python - Obscure curses error message when creating a sub window -