bool contains(const T& v) const; bool contains(const interval<T>& o) const; bool overlaps(const interval<T>& o) const;
These functions make set assertions by comparison to an other or value.
Determines whether the given value is contained in the current interval.
Determines whether the given interval is fully inside and contained in the current interval.
Determines whether the given interval overlaps with the current interval but is not fully contained in the latter.