Template Function ADS::sublist

Function Documentation

template<Sequence S>
S ADS::sublist(const S &s, typename S::Pos p, typename S::Pos q)

the sequence of the items of s from the position p to the position q, both included, empty if p is \( pos_n \)

Pre:

q is p or follows it, and holds an item unless p is \( pos_n \)