We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5bfe7a commit 0f2830aCopy full SHA for 0f2830a
tests/interval_io.hpp
@@ -0,0 +1,16 @@
1
+#pragma once
2
+
3
+#include <interval-tree/interval_tree.hpp>
4
5
+#include <iostream>
6
7
+namespace lib_interval_tree
8
+{
9
+ template <typename... IntervalArgs>
10
+ std::ostream&
11
+ operator<<(std::ostream& os, lib_interval_tree::interval<IntervalArgs...> const& interval)
12
+ {
13
+ os << '[' << interval.low() << ", " << interval.high() << ']';
14
+ return os;
15
+ }
16
+}
0 commit comments