summaryrefslogtreecommitdiffstats
path: root/include/mapbox/geometry/multi_line_string.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mapbox/geometry/multi_line_string.hpp')
-rw-r--r--include/mapbox/geometry/multi_line_string.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/mapbox/geometry/multi_line_string.hpp b/include/mapbox/geometry/multi_line_string.hpp
new file mode 100644
index 0000000..07a7a1d
--- /dev/null
+++ b/include/mapbox/geometry/multi_line_string.hpp
@@ -0,0 +1,21 @@
+#pragma once
+
+// mapbox
+#include <mapbox/geometry/line_string.hpp>
+// stl
+#include <vector>
+
+namespace mapbox {
+namespace geometry {
+
+template <typename T, template <typename...> class Cont = std::vector>
+struct multi_line_string : Cont<line_string<T>>
+{
+ using coordinate_type = T;
+ using line_string_type = line_string<T>;
+ using container_type = Cont<line_string_type>;
+ using container_type::container_type;
+};
+
+} // namespace geometry
+} // namespace mapbox