Template Function ADS::twoLevelHeaders

Function Documentation

template<class T>
void ADS::twoLevelHeaders(const DiskFile<T> &A, std::size_t L, DiskFile<T> &H)

the first item of each block of L items of A, into H, by one scan

Pre:

L >= 1, H empty, the files on the same memory