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

◆ contains() [2/2]

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

does this range contain then value v

Definition at line 77 of file range.h.

78  { return ((Mfirst <= v) && (Mlast >= v)); }
Tvalue Mlast
end of range.
Definition: range.h:104
Tvalue Mfirst
start of range.
Definition: range.h:103