Template Function ADS::merge
Defined in File SortedListSet.h
Function Documentation
-
template<class T>
SortedListSet<T> ADS::merge(const SortedListSet<T> &A, const SortedListSet<T> &B, bool a, bool b, bool both) the merge of the sorted lists of A and B: an item of A only, of B only or of both goes into the result if a, b or both say so; O( n + m ) time