initial commit
This commit is contained in:
13
sorting/heapsort.hpp
Normal file
13
sorting/heapsort.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef H_9E0FB1CD4A804878B163933022B6AE52
|
||||
#define H_9E0FB1CD4A804878B163933022B6AE52
|
||||
|
||||
#include <iterator>
|
||||
#include <functional>
|
||||
|
||||
template <std::random_access_iterator T>
|
||||
void heapsort(T begin, T end);
|
||||
|
||||
template <std::random_access_iterator T>
|
||||
void heapsort(T begin, T end, std::function<bool(decltype(*std::declval<T>()), decltype(*std::declval<T>()))> comparer);
|
||||
|
||||
#endif //H_9E0FB1CD4A804878B163933022B6AE52
|
||||
Reference in New Issue
Block a user