aboutsummaryrefslogtreecommitdiffstats
path: root/include/mapbox/geometry/multi_line_string.hpp
blob: 07a7a1d609dedb95cd728b19efa068e98584d547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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