find largest range common to both
Definition at line 77 of file ranges.cc.
References begin(), end(), libtime_assert, Mbegin, Mend, overlaps(), and TRange().
80 "ERROR (Trange::smallestcommon): ranges must overlap");
82 Mend<range.end() ?
Mend : range.end()));
#define libtime_assert(C, M)
Check an assertion and report by throwing an exception.
bool overlaps(const TRange &) const
true if other range overlaps this one