TF++, Miscellaneous classes and modules in C++:

◆ contains() [1/2]

template<class T = int>
bool tfxx::Range< T >::contains ( const Range< T > &  other) const
inline

does this range contain the other

Definition at line 74 of file range.h.

75  { return ((Mfirst <= other.first()) && (Mlast >= other.last())); }
Tvalue Mlast
end of range.
Definition: range.h:104
Tvalue Mfirst
start of range.
Definition: range.h:103