BAN: Add default sort. This is wrapper around sort_intro
This commit is contained in:
parent
94e6b9fa65
commit
be657b9b18
|
@ -125,4 +125,10 @@ namespace BAN
|
||||||
detail::sort::intro_impl(begin, end, max_depth, comp);
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue