]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/geometries/concepts/multi_point_concept.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / geometry / geometries / concepts / multi_point_concept.hpp
index 4767e014641ce2d48884a771c013568130d86ecc..da1991d657e4d74919357a68b2b2bd9a95224a91 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
@@ -26,6 +26,7 @@
 
 #include <boost/geometry/core/mutable_range.hpp>
 
+#include <boost/geometry/geometries/concepts/concept_type.hpp>
 #include <boost/geometry/geometries/concepts/point_concept.hpp>
 
 
@@ -89,6 +90,20 @@ public :
 #endif
 };
 
+
+template <typename Geometry>
+struct concept_type<Geometry, multi_point_tag>
+{
+    using type = MultiPoint<Geometry>;
+};
+
+template <typename Geometry>
+struct concept_type<Geometry const, multi_point_tag>
+{
+    using type = ConstMultiPoint<Geometry>;
+};
+
+
 }}} // namespace boost::geometry::concepts