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