BAN: Add default sort. This is wrapper around sort_intro

This commit is contained in:
Bananymous 2023-12-08 00:10:09 +02:00
parent 94e6b9fa65
commit be657b9b18
1 changed files with 6 additions and 0 deletions

View File

@ -125,4 +125,10 @@ namespace BAN
detail::sort::intro_impl(begin, end, max_depth, comp);
}
template<typename It, typename Comp = less<typename It::value_type>>
void sort(It begin, It end, Comp comp = {})
{
return sort_intro(begin, end, comp);
}
}