temporal: operator<< for Range and RangeList

This commit is contained in:
Paul Davis 2023-03-23 00:15:17 -06:00
parent 47416743fb
commit 5dbbac0bc2
2 changed files with 40 additions and 0 deletions

View file

@ -117,3 +117,18 @@ template<> OverlapType Temporal::coverage_exclusive_ends<int64_t> (int64_t sa, i
/* convert end positions to inclusive */
return coverage_inclusive_ends (sa, eaE-1, sb, ebE-1);
}
std::ostream&
std::operator<< (std::ostream & o, RangeList const & rl)
{
rl.dump (o);
return o;
}
std::ostream&
std::operator<< (std::ostream & o, Range const & r)
{
r.dump (o);
return o;
}