Template Function ADS::intersectMergeExternal

Function Documentation

template<class T, class C = std::less<>>
void ADS::intersectMergeExternal(const DiskFile<T> &A, const DiskFile<T> &B, DiskFile<T> &out, C less = C())

the items common to the sorted files A and B into out, by merging

Pre:

M >= 3 B, out empty, the files on the same memory, A and B strictly increasing (an audit)