Template Function ADS::intersectDoubling

Function Documentation

template<class T, class C = std::less<>>
std::vector<T> ADS::intersectDoubling(const std::vector<T> &A, const std::vector<T> &B, C less = C())

the items common to A and B, by doubling searches

Pre:

A and B strictly increasing (an audit)

Post:

the result of intersectMerge() (an audit)