Suppose I have two, for example, float arrays a and b , an array of keys int k and a template function mySortByKey mine, working in one array, something like
template<class T> mySortByKey(int *k, T *a)
Is it possible (for example, using zip iterators and incorrect tuples) to enable mySort while working on a and b at the same time, so that they can be ordered simultaneously according to the key k
source share