Template Function ADS::detail::sortedPermutation

Function Documentation

template<class T, class C>
bool ADS::detail::sortedPermutation(const std::vector<T> &A, std::vector<T> before, C less, std::size_t lo = 0, std::size_t hi = std::size_t(-1))

A[ lo .

. hi ) is sorted by less and holds the items of before, the copy of the same range made by auditCopy() before the sort