]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/geometries/concepts/multi_linestring_concept.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / geometry / geometries / concepts / multi_linestring_concept.hpp
index 8d06543c9a00087567ffffb0f370d6bd30cbc69f..26b86eca76496e58ca7aed4b98b7abe594dea6c0 100644 (file)
@@ -4,8 +4,8 @@
 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
 
-// This file was modified by Oracle on 2020.
-// Modifications copyright (c) 2020 Oracle and/or its affiliates.
+// This file was modified by Oracle on 2020-2021.
+// Modifications copyright (c) 2020-2021 Oracle and/or its affiliates.
 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
 
 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
@@ -24,6 +24,7 @@
 #include <boost/range/concepts.hpp>
 #include <boost/range/value_type.hpp>
 
+#include <boost/geometry/geometries/concepts/concept_type.hpp>
 #include <boost/geometry/geometries/concepts/linestring_concept.hpp>
 
 
@@ -88,6 +89,20 @@ public :
 #endif
 };
 
+
+template <typename Geometry>
+struct concept_type<Geometry, multi_linestring_tag>
+{
+    using type = MultiLinestring<Geometry>;
+};
+
+template <typename Geometry>
+struct concept_type<Geometry const, multi_linestring_tag>
+{
+    using type = ConstMultiLinestring<Geometry>;
+};
+
+
 }}} // namespace boost::geometry::concepts