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

◆ expand()

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

expand to larger of this and the other

Definition at line 87 of file range.h.

88  {
89  Mfirst=Mfirst<other.first() ? Mfirst:other.first();
90  Mlast=Mlast>other.last() ? Mlast:other.last();
91  return *this;
92  }
Tvalue Mlast
end of range.
Definition: range.h:104
Tvalue Mfirst
start of range.
Definition: range.h:103